diff options
author | RedMatrix <info@friendica.com> | 2014-12-29 09:29:23 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-12-29 09:29:23 +1100 |
commit | b7d2b9c1efdc429fc172477bec82673181f25d02 (patch) | |
tree | 11271bc8f9df1098acb52b9575dcfd6f4ce58276 | |
parent | 7b98a6fcb036d1c0d99b73c308631e17093e5af1 (diff) | |
parent | 426ac22e127b21a4598364f89c6f2eb712ed1f2e (diff) | |
download | volse-hubzilla-b7d2b9c1efdc429fc172477bec82673181f25d02.tar.gz volse-hubzilla-b7d2b9c1efdc429fc172477bec82673181f25d02.tar.bz2 volse-hubzilla-b7d2b9c1efdc429fc172477bec82673181f25d02.zip |
Merge pull request #778 from pafcu/loginredir
Redirect to login page on failed login. Fixes #628
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index 545fbe8c9..c4bbaf546 100644 --- a/include/auth.php +++ b/include/auth.php @@ -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 |