Skip to content

限制账户注册仅限已验证邮箱的用户(Restrict account registration to email-verified users)#

您可以要求所有新账户通过电子邮件验证。这可以防止恶意管理员在未经电子邮件验证的情况下注册账户。

🌐 You can require all new accounts to be verified by email. This prevents malicious admins from registering accounts without email verification.

先决条件(Prerequisites)#

  • 必须配置 SMTP,并且 n8n 必须能够发送电子邮件。

如何限制账户注册(How to restrict account registration)#

将环境变量 N8N_INVITE_LINKS_EMAIL_ONLY 设置为 true。这将锁定你的实例,使只有拥有已验证邮箱地址的用户才能注册。

🌐 Set the environment variable N8N_INVITE_LINKS_EMAIL_ONLY to true. This locks down your instance so that only users with verified email addresses can register.

有关配置 SMTP 的详细信息,请参阅 设置 SMTP

🌐 For more details on configuring SMTP, see Set up SMTP.