Skip to content

Commit 8fcca57

Browse files
gaultierunatasha8vinckr
authored
docs: mention that the new password must be different from the old password (#2266)
* docs: mention that the new password must be different from the old password * Update docs/kratos/self-service/flows/user-settings.mdx Shortened it to "This ensures that a new, unique password is set, and prevents the reuse of a potentially compromised password." Co-authored-by: Vincent <[email protected]> * reword * make format --------- Co-authored-by: unatasha8 <[email protected]> Co-authored-by: Vincent <[email protected]>
1 parent b4827e6 commit 8fcca57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/kratos/self-service/flows/user-settings.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,11 @@ curl -s -X GET \
542542
}
543543
```
544544

545+
The new password must be different from the current one. Attempting to reuse an old password will trigger an error:
546+
`The new password must be different from the old password.`
547+
548+
This ensures that a new, unique password is set, and prevents the reuse of a potentially compromised password.
549+
545550
### Link and unlink from Google, Facebook, GitHub, ..., OpenID Connect / OAuth 2.0
546551

547552
:::tip Before you start

0 commit comments

Comments
 (0)