/** * 检查用户输入的用户名 */ public function checknameAction() { $login = new PwLoginService(); list($status, $info) = $login->auth($this->getInput('username'), ''); if (-1 == $status) { $this->showError('USER:user.error.-14'); } if (!empty($info['safecv'])) { $status = PwLoginService::createLoginIdentify($login->sysUser($info['uid'])); $identify = base64_encode($status . '|'); $this->addMessage($this->_getQuestions(), 'safeCheck'); $this->addMessage($identify, '_statu'); $this->showMessage(); } $this->showMessage(); }