Lines Matching refs:username

65 		$username = $this->input('username');
72 if(($status = $this->_check_username($username)) < 0) {
78 $uid = $_ENV['user']->add_user($username, $password, $email, 0, $questionid, $answer, $regip);
84 $username = $this->input('username');
92 if(!$ignoreoldpw && $email && ($status = $this->_check_email($email, $username)) < 0) {
95 …$status = $_ENV['user']->edit_user($username, $oldpw, $newpw, $email, $ignoreoldpw, $questionid, $…
99 $_ENV['note']->add('updatepw', 'username='.urlencode($username).'&password=');
108 $username = $this->input('username');
117 …$this->settings['login_failedtime'] && !$loginperm = $_ENV['user']->can_do_login($username, $ip)) {
123 $user = $_ENV['user']->get_user_by_uid($username);
125 $user = $_ENV['user']->get_user_by_email($username);
127 $user = $_ENV['user']->get_user_by_username($username);
141 $_ENV['user']->loginfailed($username, $ip);
143 $merge = $status != -1 && !$isuid && $_ENV['user']->check_mergeuser($username) ? 1 : 0;
149 $username = $this->input('username');
151 return $_ENV['user']->can_do_login($username, $ip);
162 $username = $this->input('username');
163 if(($status = $this->_check_username($username)) < 0) {
172 $username = $this->input('username');
174 $status = $_ENV['user']->get_user_by_username($username);
176 $status = $_ENV['user']->get_user_by_uid($username);
200 $username = $this->input('username');
203 $usernames = (array)$username;
204 foreach($usernames as $username) {
205 $user = $_ENV['user']->get_user_by_username($username);
207 …PLACE INTO ".UC_DBTABLEPRE."protectedmembers SET uid='$uid', username='$username', appid='$appid',…
214 $username = $this->input('username');
216 $usernames = (array)$username;
217 foreach($usernames as $username) {
218 …$this->db->query("DELETE FROM ".UC_DBTABLEPRE."protectedmembers WHERE username='$username' AND app…
240 $username = $this->input('username');
241 …ROM ".UC_DBTABLEPRE."mergemembers WHERE appid='".$this->app['appid']."' AND username='$username'");
245 function _check_username($username) { argument
246 $username = addslashes(trim(stripslashes($username)));
247 if(!$_ENV['user']->check_username($username)) {
249 } elseif(!$_ENV['user']->check_usernamecensor($username)) {
251 } elseif($_ENV['user']->check_usernameexists($username)) {
257 function _check_email($email, $username = '') { argument
265 } elseif(!$this->settings['doublee'] && $_ENV['user']->check_emailexists($email, $username)) {