From 8a68ac0d5b85f896dd59042c207bc63c3d026f7d Mon Sep 17 00:00:00 2001 From: 0livd Date: Fri, 15 Dec 2017 17:10:28 +0100 Subject: Use token based auth in invitation e-mails (#280) * Use token based auth in invitation e-mails Invitation e-mails no longer contain the clear text project password * Skip invite page after project creation - Replace ``The project identifier is demo, remember it!`` by ``Invite other people to join this project!`` (linking to the invite page) - Encourage users to share the project password via other communication means in the reminder email --- ihatemoney/templates/send_invites.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'ihatemoney/templates/send_invites.html') diff --git a/ihatemoney/templates/send_invites.html b/ihatemoney/templates/send_invites.html index 7b3bdc5..cd96380 100644 --- a/ihatemoney/templates/send_invites.html +++ b/ihatemoney/templates/send_invites.html @@ -1,17 +1,15 @@ {% extends "layout.html" %} -{% block sidebar %} -
    -
  1. {{ _("Create the project") }}
  2. -
  3. {{ _("Invite people") }}
  4. -
  5. {{ _("Use it!") }}
  6. -
-{% endblock %} {% block content %}

{{ _("Invite people to join this project") }}

{{ _("Specify a (comma separated) list of email adresses you want to notify about the creation of this budget management project and we will send them an email for you.") }}

-

{{ _("If you prefer, you can") }} {{ _("skip this step") }} {{ _("and notify them yourself") }}

+

{{ _("If you prefer, you can share the project identifier and the shared +password by other communication means. Or even directly share the following link:") }}
+ + {{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }} + +

{% include "display_errors.html" %}
-- cgit v1.1