Skip to content

Commit

Permalink
Fix dbAuth resetPassword option type
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Mar 3, 2023
1 parent cf03ab8 commit 878ade6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ describe('dbAuth', () => {
await act(
async () =>
await auth.resetPassword({
token: 'reset-token',
resetToken: 'reset-token',
password: 'password',
})
)
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-providers/dbAuth/web/src/dbAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface LoginAttributes {
}

export interface ResetPasswordAttributes {
token: string
resetToken: string
password: string
}

Expand Down

0 comments on commit 878ade6

Please sign in to comment.