Skip to content

Commit 0e4d913

Browse files
committed
Rename email verification callback option
1 parent 6f985bb commit 0e4d913

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wger/settings_global.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def email_verified_callback(user):
551551
user.userprofile.save()
552552

553553

554-
EMAIL_VERIFIED_CALLBACK = email_verified_callback
554+
EMAIL_MAIL_CALLBACK = email_verified_callback
555555
EMAIL_FROM_ADDRESS = WGER_SETTINGS['EMAIL_FROM']
556556
EMAIL_MAIL_SUBJECT = 'Confirm your email'
557557
EMAIL_MAIL_HTML = 'email_verification/email_body_html.tpl'
@@ -561,7 +561,7 @@ def email_verified_callback(user):
561561
EMAIL_PAGE_DOMAIN = 'http://localhost:8000/'
562562

563563
#
564-
# Django activity stream
564+
# Django-activity stream
565565
#
566566
ACTSTREAM_SETTINGS = {
567567
'USE_JSONFIELD': True,

0 commit comments

Comments
 (0)