diff --git a/backend/web/login/login.py b/backend/web/login/login.py
index 3fa87921db8b44587b62e4b384a90ffdd71222a6..a96b2058e8c790664225a06e033a7192003865e5 100644
--- a/backend/web/login/login.py
+++ b/backend/web/login/login.py
@@ -384,7 +384,6 @@ def consent():
                 session=ConsentRequestSession(**claims),
             )
         ).redirect_to
-    )
     except:
         # If an unexpected error occurs, logout, hopefully that wipes the
         # relevant cookies