Skip to content

reset password emails do not use the website URL #3218

@carandraug

Description

@carandraug

When resetting a password, an email is sent to the user with a URL. That URL uses the internal name, port, and protocol instead of the public one and not what's defined in CODALAB_SITE_DOMAIN.

On my specific case, CodaLab is behind a proxy server. The email sent to the users uses the internal hostname which is not publicly available. The issue appears to be at the django-allauth app, a dependency of codalab. This seems to already be reported and fixed upstream:

https://github.com/pennersr/django-allauth/pull/3081
https://github.com/pennersr/django-allauth/pull/3108

From the dates in the django-allauth releases, it appears that version 0.51.0 has fixed the issue. However, codalab has a locked requirement on version 0.35.0 with a comment that seems to suggest that CodaLab has (or had) a patched version of django-allauth so I don't know whether we can just change the version without introducing other issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions