hasIdentity()) { $identity = $auth->getIdentity(); $auth->clearIdentity(); if (isset($identity['autologinCode'])) { $authAdapter = new App_Admin_AuthAdapter(); $authAdapter->clearAutologinCode($identity['autologinCode']); } } Qs_Http::redirect(BASE_URL_LANGUAGE . '/admin/login'); } }