django apps for changing user email with verification?

99封情书 提交于 2020-01-22 12:32:27

问题


I already use django-registration : you can register with an email verification, you can reset password with an email confirmation but there is no way to change user's email with an email verification.

Do you know a django application which gives the ability to change user's email address by sending to the new address a verification e-mail ?


回答1:


Please try this app:

http://github.com/jtauber/django-email-confirmation/




回答2:


You can also try this app. (I wrote for the exact purpose)

https://github.com/un33k/django-emailmgr

It works well with django-registration as the email provided during the registration would be the primary email address and already verified.

the user can then add more email addresses and confirm each one. Once a new email is confirmed, then it can be promoted to the primary address. Then the old primary address can be deleted.

This way you ensure that users always have at least one verified email address associated with their profile.

If you want to see a live example, then you can do that on http://outsourcefactor.com by creating an account (django-registration), activating it, login, and look at the email tab under your account settings. Once you are done, you can delete the account.

Hope this helps.




回答3:


You don't usually provide email verification to reset a password, since this is done at the signup stage. Django does however have the ability to send the reset password to the user in an email, after they have requested their password to be reset through a view.

Checkout the documentation here:

http://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.views.password_reset

EDIT:

I found and app that is able to reset the email of a user account, it does way more that just that (which may be a drawback) but could be useful:

http://code.google.com/p/django-profile/#Features



来源:https://stackoverflow.com/questions/2296846/django-apps-for-changing-user-email-with-verification

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!