From 5cad25d44bc789e3f7de417cbe3b40b5073d2294 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 6 May 2025 09:16:27 +0300 Subject: Fix failing mypy. Signed-off-by: Munyoki Kilyungi --- gn_auth/auth/authentication/oauth2/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth/auth/authentication/oauth2/views.py') diff --git a/gn_auth/auth/authentication/oauth2/views.py b/gn_auth/auth/authentication/oauth2/views.py index d0b55b4..0e2c4eb 100644 --- a/gn_auth/auth/authentication/oauth2/views.py +++ b/gn_auth/auth/authentication/oauth2/views.py @@ -77,7 +77,7 @@ def authorise(): try: email = validate_email( form.get("user:email"), check_deliverability=False) - user = user_by_email(conn, email["email"]) + user = user_by_email(conn, email["email"]) # type: ignore if valid_login(conn, user, form.get("user:password", "")): if not user.verified: return redirect( -- cgit v1.2.3