mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix(auth): reload card after deleting authenticator
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
async function deleteProvider() {
|
||||
try {
|
||||
await sdk.forProject.users.deleteMfaAuthenticator($user.$id, AuthenticatorType.Totp);
|
||||
await invalidate(Dependencies.ACCOUNT);
|
||||
await invalidate(Dependencies.FACTORS);
|
||||
await invalidate(Dependencies.USER);
|
||||
showDelete = false;
|
||||
addNotification({
|
||||
type: 'success',
|
||||
|
||||
Reference in New Issue
Block a user