diff --git a/authserv/app_common.py b/authserv/app_common.py index 788b3a2fd3f5c94244b73aafb999945603363781..0b9deb2a669d287841e491f6f0baea5e1f40c5d2 100644 --- a/authserv/app_common.py +++ b/authserv/app_common.py @@ -59,9 +59,9 @@ def do_auth(username, service, shard, password, otp_token, source_ip, def _do_auth(mc, username, service, shard, password, otp_token, source_ip, password_only): # Username must be an ASCII string. - bl = AuthBlackList(current_app.config.get('BLACKLIST_COUNT', 5), + bl = AuthBlackList(current_app.config.get('BLACKLIST_COUNT', 50), current_app.config.get('BLACKLIST_PERIOD', 600), - current_app.config.get('BLACKLIST_TIME', 6*3600), + current_app.config.get('BLACKLIST_TIME', 2*3600), mc) if current_app.config.get('ENABLE_BLACKLIST'): if bl.is_blacklisted('u', username):