Revision 5289cdd7
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
SL/Auth.pm | ||
---|---|---|
194 | 194 |
} |
195 | 195 |
|
196 | 196 |
sub punish_wrong_login { |
197 |
sleep 5; |
|
197 |
my $failed_login_penalty = ($::lx_office_conf{authentication} || {})->{failed_login_penalty}; |
|
198 |
sleep $failed_login_penalty if $failed_login_penalty; |
|
198 | 199 |
} |
199 | 200 |
|
200 | 201 |
sub get_stored_password { |
config/kivitendo.conf.default | ||
---|---|---|
16 | 16 |
# hours. |
17 | 17 |
session_timeout = 480 |
18 | 18 |
|
19 |
# The number of seconds to penalize failed login attempts. 0 disables |
|
20 |
# it. |
|
21 |
failed_login_penalty = 5 |
|
22 |
|
|
19 | 23 |
[authentication/database] |
20 | 24 |
# Connection information for the database with the user and group |
21 | 25 |
# inforamtion. This information is always needed, even if LDAP is |
Auch abrufbar als: Unified diff
Konfigurationsoption für Wartezeit nach fehlgeschlagenen Logins