auth_fc: fix inaccurate terminology on user account page (#68364)
This commit is contained in:
parent
88b298e6ee
commit
0dd86979dc
|
@ -6,7 +6,7 @@
|
|||
<div class="cadre">
|
||||
{% if user.fc_accounts.exists %}
|
||||
<p class="centrer">
|
||||
{% trans "Linked FranceConnect accounts" %}
|
||||
{% trans "Linked FranceConnect identity:" %}
|
||||
</p>
|
||||
<ul class="fond">
|
||||
<li class="picto utilisateur"><p class="lien">{{ user.fc_accounts.all.0 }}{% if unlink %} <a href="{% url 'fc-unlink' %}">{% trans 'Delete link'%}</a>{% endif %}</p></li>
|
||||
|
|
|
@ -207,7 +207,7 @@ def test_link_after_login_with_password(app, franceconnect, simple_user):
|
|||
response = franceconnect.handle_authorization(app, response.location, status=302)
|
||||
assert models.FcAccount.objects.count() == 1
|
||||
response = response.follow()
|
||||
assert response.pyquery('.fc').text() == 'Linked FranceConnect accounts\nŸuñe Frédérique Delete link'
|
||||
assert response.pyquery('.fc').text() == 'Linked FranceConnect identity:\nŸuñe Frédérique Delete link'
|
||||
|
||||
|
||||
def test_unlink_after_login_with_password(app, franceconnect, simple_user):
|
||||
|
|
Loading…
Reference in New Issue