mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
109898688: Implementation of text-not-received and email-not-received
This commit is contained in:
@@ -20,8 +20,8 @@ def get_code(user_id, code_type):
|
||||
return verify_code
|
||||
|
||||
|
||||
def get_code_by_code(user_id, code_type):
|
||||
return VerifyCodes.query.filter_by(user_id=user_id, code_type=code_type).first()
|
||||
def get_code_by_code(user_id, code, code_type):
|
||||
return VerifyCodes.query.filter_by(user_id=user_id, code=code, code_type=code_type).first()
|
||||
|
||||
|
||||
def use_code(id):
|
||||
|
||||
Reference in New Issue
Block a user