Merge branch 'develop' into master
This commit is contained in:
commit
66bd9f648b
@ -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