Fix
This commit is contained in:
@@ -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"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user