1
1
Fork 0

Merge pull request #5816 from JonnyTischbein/issue_failed_login_layout

[Frio] Fix Layout when login failed
This commit is contained in:
Hypolite Petovan 2018-10-04 08:46:15 -04:00 committed by GitHub
commit 8f09f28e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,8 +140,8 @@ class Login extends BaseModule
}
} catch (Exception $e) {
logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']);
notice($e->getMessage() . EOL);
goaway(self::getApp()->get_baseurl() . '/login');
info('Login failed. Please check your credentials.' . EOL);
goaway('/');
}
if (!$remember) {