Better UX when recovering organization emails

Fixes #291
This commit is contained in:
Joseph Schorr 2015-12-28 15:25:31 -05:00
parent 16f16e8a15
commit 31a8a0fba4
7 changed files with 76 additions and 11 deletions

20
emails/orgrecovery.html Normal file
View file

@ -0,0 +1,20 @@
{% extends "base.html" %}
{% block content %}
<h3>Organization {{ organization }} recovery</h3>
A user at {{ app_link() }} has attempted to recover organization {{ organization | user_reference }} via this email address.
<br>
<br>
Please login with one of the following user accounts to access this organization:
<ul>
{% for admin_user in admin_usernames %}
<li>{{ admin_user | user_reference }}</li>
{% endfor %}
</ul>
<br>
If you did not make this request, your organization has not been compromised and the user was
not given access. Please disregard this email.
{% endblock %}