8
0
Fork 0

don't perform a redirect after frontend logout

shop retrieves session id from outdated cookie, causes strange behaviours
Dieser Commit ist enthalten in:
Daniel Seifert 2022-11-03 23:59:14 +01:00
Ursprung bfdb6454d8
Commit 8237917a06
Signiert von: DanielS
GPG-Schlüssel-ID: 6A513E13AEE66170
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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);

Datei anzeigen

@ -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');
}
}
}