Merge pull request #1649 from alphagov/existing-user-email-auth-invite

Existing user email auth invite
This commit is contained in:
Leo Hemsted
2017-11-16 10:16:56 +00:00
committed by GitHub
5 changed files with 148 additions and 14 deletions

View File

@@ -262,7 +262,7 @@
{% endif %}
<li class="bottom-gutter">
<a href="{{ url_for('.service_switch_email_auth', service_id=current_service.id) }}" class="button">
{{ 'Stop email auth' if 'email_auth' in current_service.permissions else 'Allow email auth' }}
{{ 'Stop editing user auth' if 'email_auth' in current_service.permissions else 'Allow editing user auth' }}
</a>
</li>
{% if current_service.active %}