goaway with argument
This commit is contained in:
parent
3c9b33176f
commit
ee32459358
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class Login extends BaseModule
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']);
|
logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']);
|
||||||
info('Login failed. Please check your credentials.' . EOL);
|
info('Login failed. Please check your credentials.' . EOL);
|
||||||
goaway();
|
goaway('/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$remember) {
|
if (!$remember) {
|
||||||
|
|
Loading…
Reference in a new issue