Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Rename email verification callback option

Roland Geider0e4d9138e32d
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 89746e769..ec92e6279 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -551,7 +551,7 @@ def email_verified_callback(user):
user.userprofile.save()
-EMAIL_VERIFIED_CALLBACK = email_verified_callback
+EMAIL_MAIL_CALLBACK = email_verified_callback
EMAIL_FROM_ADDRESS = WGER_SETTINGS['EMAIL_FROM']
EMAIL_MAIL_SUBJECT = 'Confirm your email'
EMAIL_MAIL_HTML = 'email_verification/email_body_html.tpl'
@@ -561,7 +561,7 @@ EMAIL_MAIL_PAGE_TEMPLATE = 'email_verification/confirm_template.html'
EMAIL_PAGE_DOMAIN = 'http://localhost:8000/'
#
-# Django activity stream
+# Django-activity stream
#
ACTSTREAM_SETTINGS = {
'USE_JSONFIELD': True,