From c15b955d5e55ae0d932b3486e66e050e82df5872 Mon Sep 17 00:00:00 2001 From: colcrunch Date: Mon, 11 Dec 2023 18:37:35 -0500 Subject: [PATCH] Make pre-commit happy --- allianceauth/authentication/views.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/allianceauth/authentication/views.py b/allianceauth/authentication/views.py index ddb43eb1..c5c036bf 100644 --- a/allianceauth/authentication/views.py +++ b/allianceauth/authentication/views.py @@ -173,10 +173,11 @@ def sso_login(request, token): return redirect('registration_register') # Logging in with an alt is not allowed due to security concerns. token.delete() - messages.error(request, - _('Unable to authenticate as the selected character. ' - 'Please log in with the main character associated with this account.') - ) + messages.error( + request, + _('Unable to authenticate as the selected character. ' + 'Please log in with the main character associated with this account.') + ) return redirect(settings.LOGIN_URL)