Make pre-commit happy

This commit is contained in:
colcrunch 2023-12-11 18:37:35 -05:00
parent 65e1545a66
commit c15b955d5e

View File

@ -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)