mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
python: Strip leading and trailing spaces from docstrings.
This is enforced by Black ≥ 21.4b0. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
ad0be6cea1
commit
d0c6f4f400
@@ -385,7 +385,7 @@ class EmailAuthBackend(ZulipAuthMixin):
|
||||
realm: Realm,
|
||||
return_data: Optional[Dict[str, Any]] = None,
|
||||
) -> Optional[UserProfile]:
|
||||
""" Authenticate a user based on email address as the user name. """
|
||||
"""Authenticate a user based on email address as the user name."""
|
||||
if not password_auth_enabled(realm):
|
||||
if return_data is not None:
|
||||
return_data["password_auth_disabled"] = True
|
||||
|
Reference in New Issue
Block a user