Skip to content

Commit 3f31955

Browse files
authored
fix: wrong patch path in verification after login (#1705)
1 parent 7cbca32 commit 3f31955

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

docs/identities/sign-in/actions.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ Using the [Ory CLI](../../guides/cli/01_installation.mdx):
211211

212212
```shell
213213
ory patch identity-config {project_id} \
214-
--add '/selfservice/flows/registration/after/password/hooks=[{"hook": "verification"}]' \
215-
--add '/selfservice/flows/registration/after/oidc/hooks=[{"hook": "verification"}]' \
216-
--add '/selfservice/flows/registration/after/webauthn/hooks=[{"hook": "verification"}]'
214+
--add '/selfservice/flows/login/after/password/hooks=[{"hook": "verification"}]' \
215+
--add '/selfservice/flows/login/after/oidc/hooks=[{"hook": "verification"}]' \
216+
--add '/selfservice/flows/login/after/webauthn/hooks=[{"hook": "verification"}]'
217217
```
218218

219219
To automatically show the verification screen in server rendered browser flows, add the `show_verification_ui` hook as well:
@@ -227,9 +227,9 @@ Using the [Ory CLI](../../guides/cli/01_installation.mdx):
227227

228228
```shell
229229
ory patch identity-config {project_id} \
230-
--add '/selfservice/flows/registration/after/password/hooks=[{"hook": "show_verification_ui"}]' \
231-
--add '/selfservice/flows/registration/after/oidc/hooks=[{"hook": "show_verification_ui"}]' \
232-
--add '/selfservice/flows/registration/after/webauthn/hooks=[{"hook": "show_verification_ui"}]'
230+
--add '/selfservice/flows/login/after/password/hooks=[{"hook": "show_verification_ui"}]' \
231+
--add '/selfservice/flows/login/after/oidc/hooks=[{"hook": "show_verification_ui"}]' \
232+
--add '/selfservice/flows/login/after/webauthn/hooks=[{"hook": "show_verification_ui"}]'
233233
```
234234

235235
:::note

docs/kratos/self-service/flows/verify-email-account-activation.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,13 +427,16 @@ import CodeLinkComparison from "./_common/code-link-comparison.mdx"
427427
<CodeLinkComparison />
428428
```
429429

430-
## Showing the verification flow after settings or registration
430+
## Showing the verification flow after settings, registration or login
431431

432432
To show the verification flow directly after the user has registered, see the
433433
[registration documentation](../../../identities/sign-in/actions.mdx#show-verification-after-successful-registration).
434434

435435
For settings, see the [settings documentation](./user-settings.mdx#show-verification-after-updating-a-verifiable-address).
436436

437+
And for login, see the
438+
[login customization documentation](../../../identities/sign-in/actions.mdx#show-verification-after-login-if-address-is-not-verified-yet).
439+
437440
## Code examples
438441

439442
The user interface for account verification is a page in your solution that renders the actual form elements for the user.

0 commit comments

Comments
 (0)