mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 15:39:49 -04:00
Fix bug with send_verify_code not including the to field.
This commit is contained in:
@@ -21,7 +21,7 @@ def new_password(token):
|
||||
form = NewPasswordForm()
|
||||
|
||||
if form.validate_on_submit():
|
||||
users_dao.send_verify_code(user.id, 'sms')
|
||||
users_dao.send_verify_code(user.id, 'sms', user.mobile_number)
|
||||
session['user_details'] = {
|
||||
'id': user.id,
|
||||
'email': user.email_address,
|
||||
|
||||
Reference in New Issue
Block a user