Set user to sign in with newly-added key

This commit is contained in:
Chris Hill-Scott
2021-06-07 13:53:33 +01:00
parent 45645728c7
commit f8f718dff8
2 changed files with 6 additions and 0 deletions

View File

@@ -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 '