mirror of https://github.com/zulip/zulip.git
00e0b63c6c
user_profile.check_password(password) in authenticate of EmailAuthBackend can raise PasswordTooWeakError; this happens when the user's password is weaker than the current required policies and needs to be rehashed (E.g. because, as in Django 3.2, the minimum salt entropy increased). This is a very rare case, but still needs a good user-facing error message. We raise a json error to handle this with a user-facing error message. See this comment by Mateusz Mandera for a detailed explanation about this case along with a traceback it generates. https://github.com/zulip/zulip/pull/15449#discussion_r448308614 |
||
---|---|---|
.. | ||
data_import | ||
integration_fixtures/nagios | ||
lib | ||
management | ||
migrations | ||
openapi | ||
templatetags | ||
tests | ||
tornado | ||
views | ||
webhooks | ||
worker | ||
__init__.py | ||
apps.py | ||
context_processors.py | ||
decorator.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
signals.py |