aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-12-29 09:29:23 +1100
committerRedMatrix <info@friendica.com>2014-12-29 09:29:23 +1100
commitb7d2b9c1efdc429fc172477bec82673181f25d02 (patch)
tree11271bc8f9df1098acb52b9575dcfd6f4ce58276
parent7b98a6fcb036d1c0d99b73c308631e17093e5af1 (diff)
parent426ac22e127b21a4598364f89c6f2eb712ed1f2e (diff)
downloadvolse-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.php2
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