OpenTreeMap / otm-core

OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, urban forestry analysis, and community engagement.
www.opentreemap.org
Other
188 stars 87 forks source link

Password reset email text should refer to domain generically #1471

Open RickMohr opened 10 years ago

RickMohr commented 10 years ago

treemap\templates\registration\password_reset_email.html currently refers to opentreemap.org. Instead it should have a generic way to refer to the site's domain. (treemap\templates\registration\activation_email.txt does it generically, but that method didn't work for the current issue.)

RickMohr commented 8 years ago

Currently that template refers to {{ domain }}, which is fetched from the django_site table.

One solution is to update provisioning scripts to write the desired domain, e.g.:

psql -c "update django_site set domain='theActualDomain.com', name='theActualDomain.com' where id=1"