kopia lustrzana https://github.com/friendica/friendica
Merge pull request #5816 from JonnyTischbein/issue_failed_login_layout
[Frio] Fix Layout when login failedpull/5823/head
commit
8f09f28e4c
|
@ -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) {
|
||||
|
|
Ładowanie…
Reference in New Issue