# 使用两个电子邮件地址的注册流程

**URL:** <https://meta.discourse.org/t/registration-process-with-2-e-mail-addresses/182107>\
**Category:** Support\
**Created:** [2021年三月4日 21:07 UTC](https://meta.discourse.org/t/registration-process-with-2-e-mail-addresses/182107 "2021-03-04T21:07:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bd8670](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@bd8670](https://meta.discourse.org/u/bd8670)\
**Post date:** [2021年三月4日 21:07 UTC](https://meta.discourse.org/t/registration-process-with-2-e-mail-addresses/182107/1 "2021-03-04T21:07:05Z")

</div>

想搭建一个封闭/私有的 Discourse 站点。  
注册流程应如下：  
步骤 1：访问论坛站点并点击“申请邀请”。  
步骤 2：潜在用户需输入两个电子邮件地址：

- 地址 1（仅限我的目标受众拥有的特定邮箱域名）→ 向该地址发送验证代码/链接，以确认其确实属于我的目标受众。
- 地址 2：可以是与地址 1 相同的邮箱地址，也可以是其他地址。原因：并非所有目标受众都愿意使用其唯一的职业邮箱来接收论坛通信。

验证完成后，邮箱地址 1 将不再使用，可从数据库中删除。  
关于如何在 Discourse 中实现上述流程，有什么建议吗？

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2021年三月4日 21:42 UTC](https://meta.discourse.org/t/registration-process-with-2-e-mail-addresses/182107/2 "2021-03-04T21:42:33Z")

</div>

您可能可以启用 `must_approve_users` 和 `auto_approve_email_domains`。我认为这样可以让用户先登录，然后在登录后修改其邮箱地址。
