Skip to content

Commit

Permalink
Fix MFA management link and a typo in mandate email (pypi#11799)
Browse files Browse the repository at this point in the history
* Use correct MFA managament link in mandate email

* Fix typo in MFA mandate email

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
  • Loading branch information
mtkennerly and di authored Jul 8, 2022
1 parent 376f25a commit 8a8c850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion warehouse/templates/email/two-factor-mandate/body.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{% if has_two_factor %}
Since you already have two-factor authentication enabled on your account, there's nothing you need to do at this time.
{% else %}
You can enable two-factor authenticaion on your account today by visiting <a href="{{ request.route_url("accounts.two-factor", _host="pypi.org") }}">{{ request.route_url("accounts.two-factor", _host="pypi.org") }}</a>.
You can enable two-factor authentication on your account today by visiting <a href="{{ request.route_url("manage.account.two-factor", _host="pypi.org") }}">{{ request.route_url("manage.account.two-factor", _host="pypi.org") }}</a>.
{% endif %}
</p>

Expand Down
2 changes: 1 addition & 1 deletion warehouse/templates/email/two-factor-mandate/body.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ As part of this effort, in the coming months maintainers of projects designated
{% if has_two_factor -%}
Since you already have two-factor authentication enabled on your account, there's nothing you need to do at this time.
{%- else -%}
You can enable two-factor authenticaion on your account today by visiting {{ request.route_url("accounts.two-factor", _host="pypi.org") }}.
You can enable two-factor authentication on your account today by visiting {{ request.route_url("manage.account.two-factor", _host="pypi.org") }}.
{%- endif %}

PS: To make it easier for maintainers like you to enable two-factor authentication, we're also distributing security keys to eligible maintainers. See {{ request.route_url("security-key-giveaway", _host="pypi.org") }} for more details.
Expand Down

0 comments on commit 8a8c850

Please sign in to comment.