public function createUser(string $email, string $username, string $password, bool $activate = false, array $properties = []): User
	{
		$properties =
		[
			'email'     => $email,
			'username'  => $username,
			'password'  => $password,
			'activated' => $activate ? 1 : 0,
		] + $properties;

		return $this->userRepository->createUser($properties);
	}