throw Webauthn exception for suitable error handling
Dieser Commit ist enthalten in:
Ursprung
f62c542d10
Commit
ce4dcb49cb
@ -103,7 +103,7 @@ class d3webauthnadminlogin extends AdminController
|
||||
if (strlen(Registry::getRequest()->getRequestEscapedParameter('error'))) {
|
||||
$errors = oxNew(WebauthnErrors::class);
|
||||
throw oxNew(
|
||||
StandardException::class,
|
||||
WebauthnException::class,
|
||||
$errors->translateError(Registry::getRequest()->getRequestEscapedParameter('error'), WebauthnConf::TYPE_GET)
|
||||
);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren