This commit is contained in:
2026-09-07 18:14:01 +02:00
parent 23610b8d49
commit d3bca8f78a
-9
View File
@@ -32,12 +32,6 @@ enum MDTwoFactorAuthType implements MDValueEnumInterface, JsonSerializable {
"webauthn_passwordless" => self::webauthn_passwordless, "webauthn_passwordless" => self::webauthn_passwordless,
"4", "4",
"totp" => self::totp, "totp" => self::totp,
"5",
"visiting_scientist" => self::visiting_scientist,
"6",
"specifically_determined" => self::specifically_determined,
"7",
"frontend_only_user" => self::frontend_only_user,
default => throw new MDpageParameterNotFromListException("Unknown two factor authentication type"), default => throw new MDpageParameterNotFromListException("Unknown two factor authentication type"),
}; };
@@ -58,9 +52,6 @@ enum MDTwoFactorAuthType implements MDValueEnumInterface, JsonSerializable {
2 => self::webauthn_2fa, 2 => self::webauthn_2fa,
3 => self::webauthn_passwordless, 3 => self::webauthn_passwordless,
4 => self::totp, 4 => self::totp,
5 => self::visiting_scientist,
6 => self::specifically_determined,
7 => self::frontend_only_user,
default => throw new MDpageParameterNotFromListException("Unknown two factor authentication type"), default => throw new MDpageParameterNotFromListException("Unknown two factor authentication type"),
}; };