diff --git a/src/Application/Model/Exceptions/WebauthnException.php b/src/Application/Model/Exceptions/WebauthnException.php index 82fbb0d..46c8767 100644 --- a/src/Application/Model/Exceptions/WebauthnException.php +++ b/src/Application/Model/Exceptions/WebauthnException.php @@ -3,13 +3,14 @@ namespace D3\Webauthn\Application\Model\Exceptions; use D3\Webauthn\Application\Model\WebauthnErrors; +use Exception; use OxidEsales\Eshop\Core\Exception\StandardException; class WebauthnException extends StandardException { public $detailedErrorMessage = null; - public function __construct( $sMessage = "not set", $iCode = 0, \Exception $previous = null ) + public function __construct( $sMessage = "not set", $iCode = 0, Exception $previous = null ) { $this->setDetailedErrorMessage($sMessage); diff --git a/src/Modules/Application/Component/d3_webauthn_UserComponent.php b/src/Modules/Application/Component/d3_webauthn_UserComponent.php index bc1b36d..08fcde6 100755 --- a/src/Modules/Application/Component/d3_webauthn_UserComponent.php +++ b/src/Modules/Application/Component/d3_webauthn_UserComponent.php @@ -203,7 +203,6 @@ class d3_webauthn_UserComponent extends d3_webauthn_UserComponent_parent ['UserId' => Registry::getSession()->getVariable(WebauthnConf::WEBAUTHN_SESSION_CURRENTUSER)] ); $user->logout(); - Registry::getUtils()->redirect('index.php?cl=start'); } } } \ No newline at end of file