You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "[DIR]/site-packages/password_policies/middleware.py", line 186, in process_request
self.check = PasswordCheck(request.user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "[DIR]/site-packages/password_policies/utils.py", line 16, in __init__
self.expiry_datetime = self.get_expiry_datetime()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "[DIR]/site-packages/password_policies/utils.py", line 49, in get_expiry_datetime
return timezone.now() - timedelta(seconds=seconds)
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
OverflowError: date value out of range
Tested with python 3.12.
The text was updated successfully, but these errors were encountered:
Setting
PASSWORD_DURATION_SECONDS
to a large value gives an overflow error.Tested with python 3.12.
The text was updated successfully, but these errors were encountered: