clear webauthn config and data when clear token and settings

This commit is contained in:
MaysWind
2020-11-24 22:51:23 +08:00
parent 48b60fec30
commit 7f2784c542
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -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)) {