#40 Hotfix Error when signing up

This commit is contained in:
reverend 2020-10-04 15:42:06 +02:00
parent a2004bd789
commit 76b514e1e6

View File

@ -26,7 +26,7 @@ class ExplorerCreationForm(UserCreationForm):
self.add_error('voucher', 'Invalid voucher')
return False
if not submitted_voucher.valid:
if not fetched_voucher.valid:
self.add_error('voucher', 'Expired voucher')
return False