简体   繁体   中英

django how to disable & enable email verification in admin panel

我正在处理一个 Django 项目,我希望能够在管理面板中禁用或启用电子邮件注册验证,如果它设置为 ON,当用户注册到站点时需要验证电子邮件,但如果它已设置注册后激活用户帐户,无需通过电子邮件验证激活帐户

Hope you are having a good time.

I would like the purpose behind allowing email verification after registration because it's sole purpose is to validate authentic users and not allow unidentified login attempt to pass.

Because there have been so many hacking attempts just because of insecure security steps on login panel itself these days, I think it is better if we retain the email verification and not switch its permission.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM