set current user to use it before session reload

Cette révision appartient à :
Daniel Seifert 2022-11-30 22:33:43 +01:00
Parent 0dc6c49e0b
révision b18196613e
Signé par: DanielS
ID de la clé GPG: 6A513E13AEE66170
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -99,7 +99,7 @@ class d3_totp_UserComponent extends d3_totp_UserComponent_parent
// relogin, don't extract from this try block
$this->d3TotpGetSession()->setVariable(d3totp_conf::SESSION_AUTH, $oUser->getId());
$this->d3TotpGetSession()->setVariable(d3totp_conf::OXID_FRONTEND_AUTH, $oUser->getId());
$this->setUser(oxNew(User::class));
$this->setUser($oUser);
$this->setLoginStatus(USER_LOGIN_SUCCESS);
$this->_afterLogin($oUser);