diff --git a/packages/auth-providers/dbAuth/web/src/__tests__/dbAuth.test.ts b/packages/auth-providers/dbAuth/web/src/__tests__/dbAuth.test.ts index 817f2931a9a8..ff2f6e4ddbce 100644 --- a/packages/auth-providers/dbAuth/web/src/__tests__/dbAuth.test.ts +++ b/packages/auth-providers/dbAuth/web/src/__tests__/dbAuth.test.ts @@ -192,7 +192,7 @@ describe('dbAuth', () => { await act( async () => await auth.resetPassword({ - token: 'reset-token', + resetToken: 'reset-token', password: 'password', }) ) diff --git a/packages/auth-providers/dbAuth/web/src/dbAuth.ts b/packages/auth-providers/dbAuth/web/src/dbAuth.ts index 6cdc7452e882..0f63dbb7a9bb 100644 --- a/packages/auth-providers/dbAuth/web/src/dbAuth.ts +++ b/packages/auth-providers/dbAuth/web/src/dbAuth.ts @@ -8,7 +8,7 @@ export interface LoginAttributes { } export interface ResetPasswordAttributes { - token: string + resetToken: string password: string }