From: Jonny Tischbein Date: Wed, 3 Oct 2018 12:32:16 +0000 (+0200) Subject: Static reason for login failure to prevent bruteforce X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3c9b33176f52790ff669ec2f2e28ed350a3944c8;p=friendica.git Static reason for login failure to prevent bruteforce --- diff --git a/src/Module/Login.php b/src/Module/Login.php index e6bb933f0f..99401ebbe4 100644 --- a/src/Module/Login.php +++ b/src/Module/Login.php @@ -140,7 +140,7 @@ class Login extends BaseModule } } catch (Exception $e) { logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']); - info('Login failed: ' . $e->getMessage() . EOL); + info('Login failed. Please check your credentials.' . EOL); goaway(); }