mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
Fix translations for HIBP prompt
This commit is contained in:
parent
3be3763f7f
commit
ce534cc4a4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user