mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #26 from alphagov/persis_verify_codes
Persis verify codes
This commit is contained in:
@@ -79,7 +79,6 @@ def validate_code(field, code):
|
||||
field.errors.append('Code does not match')
|
||||
return False
|
||||
else:
|
||||
verify_codes_dao.use_code(code.id)
|
||||
return True
|
||||
else:
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user