Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset password email comes from example.com #385

Closed
luk355 opened this issue Oct 4, 2021 · 4 comments
Closed

Reset password email comes from example.com #385

luk355 opened this issue Oct 4, 2021 · 4 comments

Comments

@luk355
Copy link
Contributor

luk355 commented Oct 4, 2021

For self hosted Flagsmith, password reset emails are referring to example.com instead of the actual site.

I did try to search for some setting which might affect domain value but couldn't find one. Did I miss it?

image

This is happening with 2.7.3 version deployed via flagsmith helm charts.

@dabeeeenster
Copy link
Contributor

Check in the django_site DB table.

@pohorely
Copy link

pohorely commented Oct 4, 2021

Hello, I don't understand why this "administration" should be done by direct editing in DB while Flagsmith has an administration web-based portal.
Why do we have an "Organisation Administrator" accounts when it does not correspond with DB users?

Do you have a list of what is and what is not correct to edit in DB?

@luk355
Copy link
Contributor Author

luk355 commented Oct 4, 2021

just confirming this is indeed the case. django_site table is by default populated by example.com domain settings.

image

@dabeeeenster
Copy link
Contributor

Hi - the email templates are powered by Django, and that's how Django constructs fully qualified URLs when sending out emails.

I've added some info to the docs (https://docs.flagsmith.com/deployment/locally-api#email-environment-variables) which will help here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants