/** * Process of configuring of current auth storage when login was performed * * @return \Magento\Backend\Model\Auth\Session */ public function processLogin() { if ($this->getUser()) { $this->regenerateId(); if ($this->_backendUrl->useSecretKey()) { $this->_backendUrl->renewSecretUrls(); } $this->setIsFirstPageAfterLogin(true); $this->setAcl($this->_aclBuilder->getAcl()); $this->setUpdatedAt(time()); } return $this; }
/** * @return $this */ public function afterSave() { $this->_backendUrl->renewSecretUrls(); return $this; }
/** * @return $this */ protected function _afterSave() { $this->_backendUrl->renewSecretUrls(); return $this; }