【发布时间】:2021-06-03 08:17:01
【问题描述】:
我正在使用 wso2 身份服务器 5.11.0 服务器。我使用 [1] 设置了帐户锁定。即使帐户被锁定,我也没有收到任何电子邮件。但是当我从管理控制台解锁同一个帐户时,我收到了一封电子邮件。
deployment.toml 配置
[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
锁定帐户时是否需要添加其他配置才能接收电子邮件?
[1]https://is.docs.wso2.com/en/5.9.0/learn/locking-a-specific-user-account/
【问题讨论】:
-
您是否尝试过
failed login attempt based account locking和lock the account by admin navigating to the management console这两种情况?帐户锁定时,您是否在 carbon 控制台(终端)中看到任何错误日志?