set current user to use it before session reload

This commit is contained in:
Daniel Seifert 2022-11-30 22:33:43 +01:00
parent 0dc6c49e0b
commit b18196613e
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
1 changed files with 1 additions and 1 deletions

View File

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