mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-12 15:07:04 +02:00
Add notifications to give feedback after some actions
This commit is contained in:
@ -34,6 +34,7 @@
|
||||
await this.form.patch('/webauthn/credentials/' + this.id + '/name')
|
||||
|
||||
if( this.form.errors.any() === false ) {
|
||||
this.$notify({ type: 'is-success', text: this.$t('auth.webauthn.device_successfully_registered') })
|
||||
this.$router.push({name: 'settings.webauthn.devices', params: { toRefresh: true }})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user