From 587a57a11eee4dcb15cf95cdbbc37cf036cde193 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; }