mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-04 05:31:44 -04:00
Set user to sign in with newly-added key
This commit is contained in:
@@ -53,6 +53,7 @@ def webauthn_complete_register():
|
||||
return cbor.encode(str(e)), 400
|
||||
|
||||
current_user.create_webauthn_credential(credential)
|
||||
current_user.update(auth_type='webauthn_auth')
|
||||
|
||||
flash((
|
||||
'Registration complete. Next time you sign in to Notify '
|
||||
|
||||
Reference in New Issue
Block a user