Skip to content

Commit 8416b11

Browse files
authored
fix(auth): fixes userattributes type (#2139)
1 parent c35fba4 commit 8416b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/auth-js/src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ export interface UserAttributes {
471471
* their password and GOTRUE_SECURITY_UPDATE_PASSWORD_REQUIRE_CURRENT_PASSWORD is true.
472472
*
473473
*/
474-
currentPassword?: string
474+
current_password?: string
475475

476476
/**
477477
* The user's email.

0 commit comments

Comments
 (0)