celiao / django-rest-authemail

A RESTful API for user signup and authentication using email addresses.
GNU General Public License v3.0
314 stars 91 forks source link

The link sent to the email are still 127.0.0.1 instead of <some_ip_address_or_url> #47

Open RadySonabu opened 2 years ago

RadySonabu commented 2 years ago

Email verification works locally. It sends a link to my email address. However, when I deployed my app, it doesn't recognize the new URL, it still uses "127.0.0.1/signup/verify/". Do you have any tips for this issue? Thank you

namnv176 commented 2 years ago

you might find signup_email.html in authemail library and change url. It works for me

AlexanderTCHK commented 2 years ago

Is direct change is a good idea? What happened when he makes direct changes in authemail library and after that deploy his project?

merwok commented 2 years ago

With django, you can copy a template from a third-party app (with its directory structure) into another templates directory that’s in an app that’s higher in INSTALLED_APPS and change it. When looking for the template, django will find the one you changed and use it.

celiao commented 1 year ago

@RadySonabu Did you get this to work by creating your own templates files in another app?

Sajeyks commented 11 months ago

@RadySonabu Did you get this to work by creating your own templates files in another app?

Hello.. Did you update the library to fix this?

celiao commented 3 months ago

@RadySonabu Is this still an issue or have you resolved it?