Static reason for login failure to prevent bruteforce

pull/5816/head
Jonny Tischbein 2018-10-03 14:32:16 +02:00
rodzic 3ecabe0291
commit 3c9b33176f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -140,7 +140,7 @@ class Login extends BaseModule
} }
} catch (Exception $e) { } catch (Exception $e) {
logger('authenticate: failed login attempt: ' . notags($username) . ' from IP ' . $_SERVER['REMOTE_ADDR']); 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(); goaway();
} }