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 57bf4398f0
commit 587a57a11e
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;
}