Compare commits
2 Commits
485eb7b886
...
66bd9f648b
Author | SHA1 | Date | |
---|---|---|---|
66bd9f648b | |||
76b514e1e6 |
@ -26,7 +26,7 @@ class ExplorerCreationForm(UserCreationForm):
|
|||||||
self.add_error('voucher', 'Invalid voucher')
|
self.add_error('voucher', 'Invalid voucher')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if not submitted_voucher.valid:
|
if not fetched_voucher.valid:
|
||||||
self.add_error('voucher', 'Expired voucher')
|
self.add_error('voucher', 'Expired voucher')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user