careful-honey-27437
04/10/2025, 5:06 PMbrief-egg-61061
04/10/2025, 5:06 PMbrief-egg-61061
04/10/2025, 5:06 PMnotify_unknown_recipients
setting. By default, the notify_unknown_recipients
feature is disabled in newly created Ory Network projects. This feature controls whether the system sends attempted verification notifications to unregistered email addresses, which helps prevent account enumeration attacks [Attempted verification notifications](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications). To enable or disable this feature, you can use either the Ory Console or the Ory CLI: Using the Ory Console: 1. Go to Authentication → Email verification 2. Toggle "Notify unknown recipients" on or off Using the Ory CLI: ory get identity-config --project <project-id> --workspace <workspace-id> --format yaml > identity-config.yaml
Then modify the configuration: yaml flows: verification: enabled: true lifespan: 15m use: code notify_unknown_recipients: false # Set to false to disable notifications
And update the configuration: ory update identity-config --project <project-id> --workspace <workspace-id> --file identity-config.yaml
This approach helps prevent account enumeration attacks while still allowing you to control when verification emails are sent.