From: Jonny Tischbein Date: Wed, 3 Oct 2018 11:10:49 +0000 (+0200) Subject: Fix goaway url when login failed + using info to display message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3ecabe0291b159d163ad315b66f51b6d741d879e;p=friendica.git Fix goaway url when login failed + using info to display message --- diff --git a/src/Module/Login.php b/src/Module/Login.php index fadfb20661..e6bb933f0f 100644 --- a/src/Module/Login.php +++ b/src/Module/Login.php @@ -140,8 +140,8 @@ class Login extends BaseModule } } catch (Exception $e) { logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']); - notice($e->getMessage() . EOL); - goaway(self::getApp()->get_baseurl() . '/login'); + info('Login failed: ' . $e->getMessage() . EOL); + goaway(); } if (!$remember) {