kopia lustrzana https://github.com/friendica/friendica
Static reason for login failure to prevent bruteforce
rodzic
3ecabe0291
commit
3c9b33176f
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue