mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:15:19 +00:00
Merge pull request #778 from pafcu/loginredir
Redirect to login page on failed login. Fixes #628
This commit is contained in:
commit
b7d2b9c1ef
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue