mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
Add a success message when security key registered
This makes it clear that there’s nothing more the user needs to do, until the next time they sign in.
This commit is contained in:
@@ -55,6 +55,11 @@ def webauthn_complete_register():
|
||||
current_user.id, credential
|
||||
)
|
||||
|
||||
flash((
|
||||
'Registration complete. Next time you sign in to Notify '
|
||||
'you’ll be asked to use your security key.'
|
||||
), 'default_with_tick')
|
||||
|
||||
return cbor.encode('')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user