fix user settings

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-09-08 19:24:14 +02:00
parent b91fb7cefb
commit 25e7fc58b3
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,10 @@ export class MFADevicesPage extends Table<Device> {
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;
}