diff options
author | vnugent <public@vaughnnugent.com> | 2024-01-21 21:57:54 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-01-21 21:57:54 -0500 |
commit | a44f7b7dc089776a7817cf077b3f3ae3db7fc22e (patch) | |
tree | 089bfa7e9eba560f9ae596568d6d981939e597f3 /front-end/src/components/Settings | |
parent | 6cb7da37824d02a1898d08d0f9495c77fde4dd1d (diff) |
configure ci, patch totp, and bookmarks context
Diffstat (limited to 'front-end/src/components/Settings')
-rw-r--r-- | front-end/src/components/Settings/TotpSettings.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/front-end/src/components/Settings/TotpSettings.vue b/front-end/src/components/Settings/TotpSettings.vue index cc8642f..1d79914 100644 --- a/front-end/src/components/Settings/TotpSettings.vue +++ b/front-end/src/components/Settings/TotpSettings.vue @@ -71,6 +71,9 @@ const addOrUpdate = async () => { newConfig.secret = base32Encode(decSecret, 'RFC3548', { padding: false }) set(newTotpConfig, newConfig); + + //refresh config + store.mfaRefreshMethods(); }) } @@ -110,7 +113,7 @@ const onVerifyOtp = async (code: string) => { > </span> </div> - <div v-if="totpEnabled" class="flex" @click="addOrUpdate()"> + <div v-if="totpEnabled" class="flex"> <button class="btn light"> Regenerate </button> |