mirror of
https://github.com/kuaifan/dootask.git
synced 2026-08-01 02:45:58 +00:00
2.0 KiB
2.0 KiB
id, title, type, feature, scope, locale, aliases, related_tools, related_pages, prerequisites, negative, last_verified
| id | title | type | feature | scope | locale | aliases | related_tools | related_pages | prerequisites | negative | last_verified | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| user-account.email-verify.howto | 邮箱验证 | howto | user-account | end-user | zh |
|
|
|
v1.7.90 |
邮箱验证
触发场景
- 注册时管理员开启了「注册需邮箱验证」
- 已注册但
email_verity = 0的账号尝试登录 - 注销账号确认(type=3)
操作步骤
- 注册/登录后系统调用
UserEmailVerification::userEmailSend给你邮箱发一封验证邮件 - 打开邮件,点击「验证邮箱」链接
- 链接会带
code参数,跳到验证页自动调api/users/email/verification?code=xxx - 成功提示「绑定邮箱成功」,可返回登录页正常登录
收不到邮件怎么办
- 检查垃圾邮件/广告邮件分类
- 确认登录邮箱拼写正确
- 等待 1-2 分钟(SMTP 投递延迟)
- 联系管理员检查系统 SMTP 配置和发件箱可用性
错误码
- 无效连接,请重新注册:code 不存在或已被篡改
- 链接已经使用过(data.code=2):同一个 code 只能用一次,重新触发邮件
- 链接已失效,请重新登录/注册:超过 30 分钟,重新触发
不支持
- 不支持自助修改注册邮箱;如确需更换邮箱,按 user-account.delete.howto 注销后用新邮箱重新注册
- 不支持短信验证码替代邮箱验证