mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
clear webauthn config and data when clear token and settings
This commit is contained in:
@@ -159,6 +159,8 @@ export default {
|
||||
|
||||
if (self.$settings.isEnableApplicationLock()) {
|
||||
self.$settings.setEnableApplicationLock(false);
|
||||
self.$settings.setEnableApplicationLockWebAuthn(false);
|
||||
self.$user.clearWebAuthnConfig();
|
||||
}
|
||||
|
||||
if (self.$utilities.isString(data.result.token)) {
|
||||
|
||||
Reference in New Issue
Block a user