src/AdminStoreInit.php
protected function store_match_password($uname, $upass, $usalt) {
		$udata = $this->store->query(
			"SELECT uid, uname " .
				"FROM udata WHERE upass=? LIMIT 1",
			[self::hash_password($uname, $upass, $usalt)]);
		if (!$udata)
			return false;
		return $udata;
	}
protected function store_match_password($uname, $upass, $usalt) {
		$udata = $this->store->query(
			"SELECT uid, uname " .
				"FROM udata WHERE upass=? LIMIT 1",
			[self::hash_password($uname, $upass, $usalt)]);
		if (!$udata)
			return false;
		return $udata;
	}
protected function store_match_password ( $ uname , $ upass , $ usalt ) { $ udata = $ this -> store -> query ( "SELECT uid, uname " . "FROM udata WHERE upass=? LIMIT 1" , [ self :: hash_password ( $ uname , $ upass , $ usalt ) ] ) ; if ( ! $ udata ) return false ; return $ udata ; }
Match password and return user data on success.

@param string $uname Username.
@param string $upass User plain text password.
@param string $usalt User salt.
@return array|bool False on failure, user data on success. User
data elements are subset of those returned by
AdminStore::adm_get_safe_user_data.
Match password and return user data on success .