mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Make pre-commit happy
This commit is contained in:
parent
65e1545a66
commit
c15b955d5e
@ -173,10 +173,11 @@ def sso_login(request, token):
|
|||||||
return redirect('registration_register')
|
return redirect('registration_register')
|
||||||
# Logging in with an alt is not allowed due to security concerns.
|
# Logging in with an alt is not allowed due to security concerns.
|
||||||
token.delete()
|
token.delete()
|
||||||
messages.error(request,
|
messages.error(
|
||||||
_('Unable to authenticate as the selected character. '
|
request,
|
||||||
'Please log in with the main character associated with this account.')
|
_('Unable to authenticate as the selected character. '
|
||||||
)
|
'Please log in with the main character associated with this account.')
|
||||||
|
)
|
||||||
return redirect(settings.LOGIN_URL)
|
return redirect(settings.LOGIN_URL)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user