projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Konfigurationsoption für Wartezeit nach fehlgeschlagenen Logins
[kivitendo-erp.git]
/
SL
/
Auth.pm
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
ed5c845
..
52c2dc6
100644
(file)
--- a/
SL/Auth.pm
+++ b/
SL/Auth.pm
@@
-194,7
+194,8
@@
sub authenticate {
}
sub punish_wrong_login {
- sleep 5;
+ my $failed_login_penalty = ($::lx_office_conf{authentication} || {})->{failed_login_penalty};
+ sleep $failed_login_penalty if $failed_login_penalty;
}
sub get_stored_password {