Redirect to login page on failed login. Fixes #628
This commit is contained in:
parent
0cb0c2b1bf
commit
426ac22e12
@ -283,7 +283,7 @@ else {
|
||||
@file_put_contents($authlog, datetime_convert() . ':' . session_id() . ' ' . $error . "\n", FILE_APPEND);
|
||||
|
||||
notice( t('Login failed.') . EOL );
|
||||
goaway(z_root());
|
||||
goaway(z_root() . '/login');
|
||||
}
|
||||
|
||||
// If the user specified to remember the authentication, then change the cookie
|
||||
|
Reference in New Issue
Block a user