mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
110880218: Completed implementation of resend the verificaton code
This commit is contained in:
@@ -46,7 +46,7 @@ def verification_code_not_received():
|
||||
return render_template('views/verification-not-received.html')
|
||||
|
||||
|
||||
@main.route('/verification-not-received', methods=['POST'])
|
||||
@main.route('/send-new-code', methods=['GET'])
|
||||
def check_and_resend_verification_code():
|
||||
user = users_dao.get_user_by_id(session['user_id'])
|
||||
send_sms_code(user.id, user.mobile_number)
|
||||
|
||||
Reference in New Issue
Block a user