Skip to content

Commit

Permalink
Merge branch 'main' into feat/multipart-file
Browse files Browse the repository at this point in the history
  • Loading branch information
cromoteca authored Feb 3, 2025
2 parents f7ab7b0 + f0189d2 commit 91c36ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ts/react-auth/src/useAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '@vaadin/hilla-frontend';
import { createContext, type Dispatch, useContext, useEffect, useReducer } from 'react';

type LoginFunction = (username: string, password: string) => Promise<LoginResult>;
type LoginFunction = (username: string, password: string, options?: LoginOptions) => Promise<LoginResult>;
type LogoutFunction = () => Promise<void>;

const LOGIN_FETCH = 'LOGIN_FETCH';
Expand Down

0 comments on commit 91c36ee

Please sign in to comment.