From: Michael Tremer Date: Mon, 17 Feb 2025 11:32:23 +0000 (+0000) Subject: auth: Fix rendering the error page in case credentials have been invalid X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b53033a82019dce8a1f8158684a1053d67c4bfc6;p=pbs.git auth: Fix rendering the error page in case credentials have been invalid Signed-off-by: Michael Tremer --- diff --git a/src/web/auth.py b/src/web/auth.py index 3617f6d8..41e5b14d 100644 --- a/src/web/auth.py +++ b/src/web/auth.py @@ -23,7 +23,7 @@ class LoginHandler(base.KerberosAuthMixin, base.BaseHandler): # Try to authenticate the user if not self._auth_with_credentials(username, password): - return self.get(username=username, failed=True) + return await self.get(username=username, failed=True) # If the authentication was successful, we create a new session async with await self.db.transaction():