限制账户注册仅限已验证邮箱的用户#
¥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 必须能够发送电子邮件。
¥SMTP must be set up and n8n must be able to send emails.
如何限制账户注册#
¥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.