Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

auth: Remove Optional for request param of authenticate().

Dineshc5ab01656d6d
diff --git a/zproject/backends.py b/zproject/backends.py
index ad827f8c62b..7836a79f174 100644
--- a/zproject/backends.py
+++ b/zproject/backends.py
@@ -377,7 +377,7 @@ class EmailAuthBackend(ZulipAuthMixin):
@rate_limit_auth
def authenticate(
self,
- request: Optional[HttpRequest] = None,
+ request: HttpRequest,
*,
username: str,
password: str,