Skip to content

Commit 5be1ace

Browse files
committed
fix: document current_password on PUT /user
UserUpdateParams accepts it, and the handler requires it when Security.UpdatePasswordRequireCurrentPassword is enabled.
1 parent 1350b7e commit 5be1ace

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎openapi.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,9 @@ paths:
667667
format: phone
668668
password:
669669
type: string
670+
current_password:
671+
type: string
672+
description: Required when setting a new password and `GOTRUE_SECURITY_UPDATE_PASSWORD_REQUIRE_CURRENT_PASSWORD` is enabled.
670673
nonce:
671674
type: string
672675
data:

0 commit comments

Comments
 (0)