add target="_self" for sso links
This commit is contained in:
parent
30ddaafbf9
commit
739e564099
1 changed files with 2 additions and 2 deletions
|
@ -52,10 +52,10 @@
|
||||||
<hr>
|
<hr>
|
||||||
<p>{% trans 'SSO Connections:' %}</p>
|
<p>{% trans 'SSO Connections:' %}</p>
|
||||||
{% for backend, name in sso_backends.not_associated.items %}
|
{% for backend, name in sso_backends.not_associated.items %}
|
||||||
<p><a class="button" href="{% url 'social:begin' backend=backend %}?next={% url 'site.account' %}">Link {{ name }}</a></p>
|
<p><a class="button" href="{% url 'social:begin' backend=backend %}?next={% url 'site.account' %}" target="_self">Link {{ name }}</a></p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for backend, name in sso_backends.associated.items %}
|
{% for backend, name in sso_backends.associated.items %}
|
||||||
<p><a class="button delete" href="{% url 'social:disconnect' backend=backend %}?next={% url 'site.account' %}">Unlink {{ name }}</a></p>
|
<p><a class="button delete" href="{% url 'social:disconnect' backend=backend %}?next={% url 'site.account' %}" target="_self">{ name }}</a></p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue