fix user settings
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
b91fb7cefb
commit
25e7fc58b3
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue