mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Correct english typos (#662)
* Check that vouchers selected via API are for the correct event * Choose different subject for reminder mails if auto-expiry is off * correct english typos As with PR #660, it should be checked whether the changes to the .po-files are respected in the corresponding src-files.
This commit is contained in:
committed by
Raphael Michel
parent
1285e9aa69
commit
4614d04be4
@@ -242,7 +242,7 @@ class User2FADeviceConfirmU2FView(RecentAuthenticationRequiredMixin, TemplateVie
|
||||
if not self.request.user.require_2fa:
|
||||
note = ' ' + str(_('Please note that you still need to enable two-factor authentication for your '
|
||||
'account using the buttons below to make a second factor required for logging '
|
||||
'into your accont.'))
|
||||
'into your account.'))
|
||||
messages.success(request, str(_('The device has been verified and can now be used.')) + note)
|
||||
return redirect(reverse('control:user.settings.2fa'))
|
||||
except Exception:
|
||||
@@ -291,7 +291,7 @@ class User2FADeviceConfirmTOTPView(RecentAuthenticationRequiredMixin, TemplateVi
|
||||
if not self.request.user.require_2fa:
|
||||
note = ' ' + str(_('Please note that you still need to enable two-factor authentication for your '
|
||||
'account using the buttons below to make a second factor required for logging '
|
||||
'into your accont.'))
|
||||
'into your account.'))
|
||||
messages.success(request, str(_('The device has been verified and can now be used.')) + note)
|
||||
return redirect(reverse('control:user.settings.2fa'))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user