]> git.mxchange.org Git - friendica.git/commitdiff
goaway with argument
authorJonny Tischbein <jonny_tischbein@systemli.org>
Wed, 3 Oct 2018 16:28:04 +0000 (18:28 +0200)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Wed, 3 Oct 2018 16:28:04 +0000 (18:28 +0200)
src/Module/Login.php

index 99401ebbe4a2e23b7d85e098f56017cb2e37c151..ad5d5ad0b6acbc66d5e6d9eb6a2294a54d3010b4 100644 (file)
@@ -141,7 +141,7 @@ class Login extends BaseModule
                } catch (Exception $e) {
                        logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']);
                        info('Login failed. Please check your credentials.' . EOL);
-                       goaway();
+                       goaway('/');
                }
 
                if (!$remember) {