Projet

Général

Profil

« Précédent | Suivant » 

Révision 23e525bf

Ajouté par Serghei Mihai il y a plus de 9 ans

preventing browser of autofilling the password change form

Closes #5449

Voir les différences:

calebasse/templates/registration/password_change_form.html
13 13
{% block content %}
14 14
<div id="password_change">
15 15

  
16
  <form method="post">{% csrf_token %}
16
  <form method="post" autocomplete='off'>{% csrf_token %}
17 17
    <div>
18 18
      <p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
19 19
      {% if form.errors %}

Formats disponibles : Unified diff