public function logoutCurrentUser() { $session = $this->env->getSession(); $session->unsetValue('user'); $session->unsetValue('justRegistered'); $this->justRegistered = null; $this->user = null; }
/** * @return LoginNotificatorInterface */ private function getLoginNotificator() { return $this->env->getDIC()->get('LoginNotificatorInterface'); }