src/Brick/User/UserManager.php
public function setUserPassword($password, $userId)
	{
		$user = $this->get($userId);

		if ($user) {
			$this->repository->update($userId, ['password' => Passwords::hash($password)]);

			return TRUE;
		}

		return FALSE;
	}
public function setUserPassword($password, $userId)
	{
		$user = $this->get($userId);

		if ($user) {
			$this->repository->update($userId, ['password' => Passwords::hash($password)]);

			return TRUE;
		}

		return FALSE;
	}
@param $password
@param $userId

@return bool