"Password reset" is using wrong domain

Bug #1240512 reported by Daniele Viganò
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenQuake Platform
Fix Committed
Medium
Daniele Viganò

Bug Description

The "password reset" function is currently sending emails correctly but:

1) The sender is webmaster@localhost (instead of <email address hidden>)
2) The reset link in the email is pointing to "example.com"

##################################################
from: webmaster@localhost
to: me
subject: Password reset on example.com

Reset password at example.com:

https://example.com/accounts/password/reset/confirm/zzz-yyy-xxxxxx/
##################################################

Revision history for this message
Daniele Viganò (daniele-vigano) wrote :

Fixed adding to local_settings.py:

DEFAULT_FROM_EMAIL = '<email address hidden>'
THEME_ACCOUNT_CONTACT_EMAIL = '<email address hidden>'

and adding the correct domain to http://sub.domain.tld/admin/sites/site/1/

Changed in oq-platform:
status: Confirmed → Fix Committed
assignee: nobody → Daniele Viganò (daniele-vigano)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.