diff --git a/docs/concepts/password-policy.mdx b/docs/concepts/password-policy.mdx index 5d9d5a284..baf66db64 100644 --- a/docs/concepts/password-policy.mdx +++ b/docs/concepts/password-policy.mdx @@ -30,7 +30,7 @@ This feature is enabled by default. Use the [Ory CLI](../guides/cli/01_installat ```shell ory patch identity-config "$project_id" \ - --replace '/selfservice/methods/password/enabled/config/identifier_similarity_check_enabled=false' + --replace '/selfservice/methods/password/config/identifier_similarity_check_enabled=false' ``` ## Leaked password check @@ -43,7 +43,7 @@ This feature is enabled by default. Use the [Ory CLI](../guides/cli/01_installat ```shell ory patch identity-config "$project_id" \ - --replace '/selfservice/methods/password/enabled/config/haveibeenpwned_enabled=false' + --replace '/selfservice/methods/password/config/haveibeenpwned_enabled=false' ``` ## Best practices