mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Convert Info notification to Success & Add an Info notification
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
|
||||
watch(() => user.preferences.useWebauthnOnly, () => {
|
||||
userService.updatePreference('useWebauthnOnly', user.preferences.useWebauthnOnly).then(response => {
|
||||
notify.info({ text: trans('settings.forms.setting_saved') })
|
||||
notify.success({ text: trans('settings.forms.setting_saved') })
|
||||
})
|
||||
})
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
user.preferences.useWebauthnOnly = false
|
||||
}
|
||||
|
||||
notify.info({ text: trans('auth.webauthn.device_revoked') })
|
||||
notify.success({ text: trans('auth.webauthn.device_revoked') })
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user