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)