use different token

This commit is contained in:
Peter Bieringer 2025-01-01 16:41:11 +01:00
parent 8604dacad0
commit 5a591b6471

View file

@ -283,6 +283,6 @@ class Auth(auth.BaseAuth):
logger.debug("Login verification failed for user: '%s' ( method '%s')", login, method)
else:
# dummy delay
(method, password_ok) = self._plain(str(htpasswd_mtime_ns), password)
(method, password_ok) = self._plain(str(time.time_ns()), password)
logger.debug("Login verification user not found: '%s'", login)
return ""