Replace the useWebauthnAsDefault option by a client side form toggle

This commit is contained in:
Bubka
2023-03-15 14:44:51 +01:00
parent f359a1ade3
commit 4d8180a8c1
10 changed files with 30 additions and 24 deletions

View File

@ -20,11 +20,17 @@ Vue.mixin({
}
else {
await this.axios.get('/user/logout')
this.$storage.clear()
this.clearStorage()
this.$router.push({ name: 'login', params: { forceRefresh: true } })
}
},
clearStorage() {
this.$storage.set('accounts')
this.$storage.set('groups')
this.$storage.set('lastRoute')
},
exitSettings: function (event) {
if (event) {
this.$notify({ clean: true })