mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
109526036: Removed sms code from the session on sign-in
This commit is contained in:
@@ -28,7 +28,6 @@ def process_sign_in():
|
||||
if checkpw(form.password.data, user.password):
|
||||
sms_code = send_sms_code(user.id, user.mobile_number)
|
||||
session['user_id'] = user.id
|
||||
session['sms_code'] = hashpw(sms_code)
|
||||
else:
|
||||
users_dao.increment_failed_login_count(user.id)
|
||||
return jsonify(authorization=False), 401
|
||||
|
||||
Reference in New Issue
Block a user