zulip/zerver
Dinesh 00e0b63c6c auth: Handle user_profile.check_password raising PasswordTooWeakError.
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
2021-05-07 09:10:45 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib outgoing_http: Provide a convenient way to set default headers. 2021-05-07 08:39:36 -07:00
management ldap: Check for deactivating owner role precisely. 2021-05-06 10:13:29 -07:00
migrations models: Fix incorrect on_delete=CASCADE values for deleted streams. 2021-05-06 20:41:49 -07:00
openapi user docs: Create separate "Code blocks" user documentation page. 2021-05-05 16:11:21 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests auth: Handle user_profile.check_password raising PasswordTooWeakError. 2021-05-07 09:10:45 -07:00
tornado middleware: Add client_version attribute to request. 2021-04-29 17:03:40 -07:00
views requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
webhooks integrations: Add Freshping webhook integration. 2021-05-06 11:18:35 -07:00
worker emails: Transform SMTPException into EmailNotDeliveredException. 2021-05-05 20:16:11 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py UI: Add Zulip version in gear menu. 2021-04-30 17:58:08 -07:00
decorator.py middleware: Simplify logic for parsing user-agent. 2021-04-29 17:47:41 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py middleware: Simplify logic for parsing user-agent. 2021-04-29 17:47:41 -07:00
models.py models: Fix incorrect on_delete=CASCADE values for deleted streams. 2021-05-06 20:41:49 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00