public function ACT_dologin() { if (!$this->acl->check('guest')) { $this->deny(); } $user_info = array('user_name' => $_POST['user_name'], 'user_password' => $_POST['user_password']); MDL_User_Auth::login($user_info); $this->locator->redirect('index'); }