From 0b4daa9b16e6f2356252492704b46c910fac71a8 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Fri, 17 Mar 2023 22:07:03 +0100 Subject: [PATCH] Do not use "nonce" in user-exposed strings, as it is a slur in Britisch Englisch --- src/pretix/presale/views/customer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/views/customer.py b/src/pretix/presale/views/customer.py index 2875b7319a..6faf0a8aea 100644 --- a/src/pretix/presale/views/customer.py +++ b/src/pretix/presale/views/customer.py @@ -690,7 +690,7 @@ class SSOLoginReturnView(RedirectBackMixin, View): if nonce != request.session.get(f'pretix_customerauth_{self.provider.pk}_nonce'): return self._fail( _('Login was not successful. Error message: "{error}".').format( - error='invalid nonce', + error='invalid one-time token', ), popup_origin, )