A Django App to let users securely change the email associated with their account.
Project description
# Django Email Changer
Django app to securely change a user’s email. This app will email your user at the new email with an activation URL. Once they click the link in the email, the new email will be put into their user account.
## Settings
Django Email Changer has some custom settings it looks for.
### EMAIL_CHANGE_NOTIFICATION_SUBJECT
The subject of email change notifications.
Default: “Email Change Activation”
### EMAIL_CHANGE_NOTIFICATION_EMAIL_TEMPLATE
The template for email change notifications.
Default: “django_email_changer/email_change_notification.txt”
### EMAIL_CHANGE_NOTIFICATION_FROM
Who is the email change notification from.
Default: “no-reply@example.com”
### EMAIL_CHANGE_ACTIVATION_SUCCESS_URL
When a user activates their email, we’ll redirect to this URL so you can execute your code.
Default: “/user-email-changed”
### EMAIL_CHANGE_SUCCESS_URL
After a successfully submitting a new email, the user is forwarded to this URL.
Default: “/new-email-activation-sent”
### CHANGE_EMAIL_CODE_EXPIRY_TIME
A dictionary of arguments for datetime.timedelta. If modification is more than CHANGE_EMAIL_CODE_EXPIRY_TIME days/hours/minutes/etc old then the modification will not be applied.
Default: {“days”: 3}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-email-changer-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257d98c1b5b01ff3d610db773289165ef989897593303a6fbe45728abcf8f3f7 |
|
MD5 | f0a344164f0c3ff1fb11402860f23ba6 |
|
BLAKE2b-256 | b086672c6241d31b0bd1475836f5c141635690729473ca1d16b8f46f5d002491 |