needed to access email_sender_address through mg_globals.app_config
instead of mg_globals.email_sender_address.
This commit is contained in:
parent
6503073508
commit
f85909c061
@ -146,7 +146,7 @@ def send_fp_verification_email(user,request):
|
|||||||
|
|
||||||
# TODO: There is no error handling in place
|
# TODO: There is no error handling in place
|
||||||
send_email(
|
send_email(
|
||||||
mg_globals.email_sender_address,
|
mg_globals.app_config['email_sender_address'],
|
||||||
[user['email']],
|
[user['email']],
|
||||||
'GNU MediaGoblin - Change forgotten password!',
|
'GNU MediaGoblin - Change forgotten password!',
|
||||||
rendered_email)
|
rendered_email)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user