Project

General

Profile

« Previous | Next » 

Revision 23e525bf

Added by Serghei Mihai about 10 years ago

preventing browser of autofilling the password change form

Closes #5449

View differences:

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 %}

Also available in: Unified diff