Compare commits
No commits in common. "66bd9f648bbd1d5157ad4d866747534b4347f3cf" and "485eb7b886a986e8d836f155ced33dfa2d6d0221" have entirely different histories.
66bd9f648b
...
485eb7b886
@ -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 fetched_voucher.valid:
|
if not submitted_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