betagouv / django-magicauth

Password-less authentication for Django. An email with a magic link allows a secure login

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"e-contrôle notification" as title in the html email template

alemangui opened this issue · comments

The default template for the html-version of the email (found here) has e-contrôle notification as the title.

<title>e-contrôle notification</title>

Note that this is a minor issue since the title is rarely seen in emails (except for when the users click on "view online" or in certain versions of Android).

An alternative would be to have a generic title, maybe something like Accéder à {{ site.domain }} or use the email subject as the html title.

Another option (perhaps overkill), would be to incorporate a setting to specify it.

Which option would you prefer? I could try to prepare a PR if needed.

Thanks @alemangui for this comment and sorry for the late response.
I have opened a small PR for this. I don't think it worth having a setting, as the entire email can be overridden for customization.

PR #22

Merged.