set current user to use it before session reload
This commit is contained in:
parent
0dc6c49e0b
commit
b18196613e
@ -99,7 +99,7 @@ class d3_totp_UserComponent extends d3_totp_UserComponent_parent
|
|||||||
// relogin, don't extract from this try block
|
// relogin, don't extract from this try block
|
||||||
$this->d3TotpGetSession()->setVariable(d3totp_conf::SESSION_AUTH, $oUser->getId());
|
$this->d3TotpGetSession()->setVariable(d3totp_conf::SESSION_AUTH, $oUser->getId());
|
||||||
$this->d3TotpGetSession()->setVariable(d3totp_conf::OXID_FRONTEND_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->setLoginStatus(USER_LOGIN_SUCCESS);
|
||||||
$this->_afterLogin($oUser);
|
$this->_afterLogin($oUser);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user