Reputation: 29
I am working with django-allauth. I manage to do everything, however the port is rendered within confirmation email: so it looks like that: http://example.com:8000/accounts/confirm-email/NA:1kcaUA:3NeRmjX502XujDEy_PmwHsV_rW3ioNjOvWcclXFBD5
is there any way to get rid of the port while sending those ?
Thanks in advance.
Upvotes: 2
Views: 1021
Reputation: 53
You need to edit your project's sites. Log in to django admin, then navigate to the field 'sites' and edit your site domain name and display name. Currently it is likely set to example.com, which is why django-allauth picks up this site name in its template.
Upvotes: 5