From 25e7fc58b3af3a84fdb5adf48bbb1a818f15ab98 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 8 Sep 2023 19:24:14 +0200 Subject: [PATCH] fix user settings Signed-off-by: Jens Langhammer --- web/src/user/user-settings/mfa/MFADevicesPage.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/user/user-settings/mfa/MFADevicesPage.ts b/web/src/user/user-settings/mfa/MFADevicesPage.ts index 5b26d152e..4b05d6c64 100644 --- a/web/src/user/user-settings/mfa/MFADevicesPage.ts +++ b/web/src/user/user-settings/mfa/MFADevicesPage.ts @@ -97,6 +97,10 @@ export class MFADevicesPage extends Table { return api.authenticatorsStaticDestroy(id); case "authentik_stages_authenticator_webauthn.WebAuthnDevice": return api.authenticatorsWebauthnDestroy(id); + case "authentik_stages_authenticator_mobile.mobiledevice": + return api.authenticatorsMobileDestroy({ + uuid: device.pk as unknown as string, + }); default: break; }