frontend
    Preparing search index...

    Function useLogin

    • useLogin hook.

      Custom React Query mutation hook used to authenticate an existing user.

      Sends login credentials to the backend API.

      Returns UseMutationResult<AuthResponse, Error, LoginRequest, unknown>

      React Query mutation object