I'm using wso2 Identity server 5.11.0 server. I set up account locking using [1]. Even though the account was locked, I didn't receive any email.But when I unlock the same account from management console, I received an email.
deployment.toml configs
[event.default_listener.identity_mgt]
priority= "50"
enable = false
[event.default_listener.governance_identity_mgt]
priority= "95"
enable = true
[identity_mgt.account_locking]
enable_account_locking=true
allowed_failed_attempts=3
auto_unlock_time_increment_ratio=2
auto_unlock_after=15
[identity_mgt.user_onboarding]
ask_password_from_user= true
enable_email_verification = true
lock_on_creation=true
[output_adapter.email]
from_address= "xxxxxx@gmail.com"
username= "xxxxxx"
password= "xxxxx"
hostname= "smtp.gmail.com"
port= 587
enable_start_tls= true
enable_authentication= true
Do I need to add another configs to receive an email when locking the account?
[1] https://is.docs.wso2.com/en/5.9.0/learn/locking-a-specific-user-account/