public function generateRecoveryToken($userId)
	{
		$token = SELF::generateToken();

		$update = array(
			'reset_password_token' => Passwords::hash($token),
			'reset_password_requested_at' => new DateTime(),
		);

		$this->repository->update($userId, $update);

		return $token;
	}