mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Do not use "nonce" in user-exposed strings, as it is a slur in Britisch Englisch
This commit is contained in:
@@ -690,7 +690,7 @@ class SSOLoginReturnView(RedirectBackMixin, View):
|
|||||||
if nonce != request.session.get(f'pretix_customerauth_{self.provider.pk}_nonce'):
|
if nonce != request.session.get(f'pretix_customerauth_{self.provider.pk}_nonce'):
|
||||||
return self._fail(
|
return self._fail(
|
||||||
_('Login was not successful. Error message: "{error}".').format(
|
_('Login was not successful. Error message: "{error}".').format(
|
||||||
error='invalid nonce',
|
error='invalid one-time token',
|
||||||
),
|
),
|
||||||
popup_origin,
|
popup_origin,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user