Skip to content

Commit 434a93f

Browse files
committed
Update revoke_active_sessions table to match current behaviour
The table indicates that the hook is only available for use with "login" flow but the current version of Kratos supports this hook after a user changes their password, as mentioned in the linked docs.
1 parent 8a54c4d commit 434a93f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/kratos/hooks/01_configure-hooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Some actions can only be used for specific flows and methods.
103103
| Action | Description | Details |
104104
| :------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
105105
| [`session`](../../actions/session.mdx) | Signs in the user immediately after they create an account. | For use only with the `after` registration flow. To use it, you must define secrets for secret rotation. |
106-
| [`revoke_active_sessions`](../../actions/revoke-active-sessions.mdx) | Revokes all other active sessions of the user on successful login. | For use only with the login flow. |
106+
| [`revoke_active_sessions`](../../actions/revoke-active-sessions.mdx) | Revokes all other active sessions of the user on successful login. | For use with either the login flow or the `after` settings flow, `password` method (as shown [here](../session-management/25_revoke-sessions-hook.md)). |
107107
| [`require_verified_address`](../../actions/require-verified-address.mdx) | Allows users to sign in only when they verified their email address. | For use only with the `after` login flow, `password` method only. |
108108
| [`verify_new_address`](../../actions/verify-new-address.mdx) | Changes the user's address after they verify the new address. | For use only with the `after` settings flow, `profile` method only. |
109109
| [`notify_previous_addresses`](../../actions/notify-previous-addresses.mdx) | Notifies the user's previous addresses when they change a verifiable address. | For use only with the `after` settings flow, `profile` method only. Accepts a `recipients` configuration. |

0 commit comments

Comments
 (0)