mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-05 14:17:35 +03:00
add a dummy delay action
This commit is contained in:
parent
8fdbd0dbf6
commit
ca665c4849
1 changed files with 2 additions and 0 deletions
|
@ -282,5 +282,7 @@ class Auth(auth.BaseAuth):
|
||||||
else:
|
else:
|
||||||
logger.debug("Login verification failed for user: '%s' ( method '%s')", login, method)
|
logger.debug("Login verification failed for user: '%s' ( method '%s')", login, method)
|
||||||
else:
|
else:
|
||||||
|
# dummy delay
|
||||||
|
(method, password_ok) = self._plain(str(htpasswd_mtime_ns), password)
|
||||||
logger.debug("Login verification user not found: '%s'", login)
|
logger.debug("Login verification user not found: '%s'", login)
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue