Skip to content

Commit

Permalink
Fix translations for HIBP prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum5 committed Mar 24, 2022
1 parent 9021f65 commit 8cd0520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/registration/password_change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="centered-form">
<form action="" method="post" class="form-area">
{% if request.session.password_pwned %}
<h4>{{ _('We found your password in <a href="https://haveibeenpwned.com/Passwords">a database of compromised passwords</a>.
To protect your account, we are requiring you to change your password to a more secure password.') }}</h4>
<h4>{{ (_('We found your password in [a database of compromised passwords][0].') + '\n\n [0]: https://haveibeenpwned.com/Passwords')|markdown('default', strip_paragraphs=True) }}
{{ _('To protect your account, we are requiring you to change your password to a more secure password.') }}</h4>
{% endif %}
{% csrf_token %}
<table border="0" class="django-as-table">{{ form.as_table() }}</table>
Expand Down

0 comments on commit 8cd0520

Please # to comment.