Skip to content

Commit c4313a4

Browse files
committed
Add rel="nofollow" to a couple of the account links to prevent the
test crawler from going to /account/login/ and getting an error back, with this change the crawler currently runs without reporting any errors - Legacy-Id: 7114
1 parent 591e90a commit c4313a4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/templates/registration/create.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h1>Account Creation</h1>
5151
<form action="" method="post">{% csrf_token %}
5252
<p>
5353
If you already have an account, and want to use a new email address,<br/>
54-
please go to your <a href="{% url "ietf.ietfauth.views.profile" %}">account profile page</a> and
54+
please go to your <a href="{% url "ietf.ietfauth.views.profile" %}" rel="nofollow">account profile page</a> and
5555
add the new email<br/>
5656
address there.
5757
</p>

ietf/templates/registration/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ <h1>Account Management</h1>
1212
{% if user.username %}
1313
<li><a href="/accounts/profile/">View and edit your profile</a></li>
1414
{% else %}
15-
<li><a href="/accounts/login/">Sign in</a></li>
15+
<li><a href="/accounts/login/" rel="nofollow">Sign in</a></li>
1616
{% endif %}
1717
<li><a href="/accounts/create/">Request an account</a></li>
1818
<li><a href="/accounts/reset/">Request a password reset </a></li>
19-
<li><a href="/cookies/">Change your datatracker preferences for this browser</a></li>
19+
<li><a href="/cookies/">Change your datatracker preferences for this browser</a></li>
2020
</ul>
2121
</p>
2222

0 commit comments

Comments
 (0)