diff options
| -rw-r--r-- | changelog/en/changelog_2022-06-15.md | 1 | ||||
| -rw-r--r-- | changelog/fr/changelog_2023-01-25.md | 1 | ||||
| -rw-r--r-- | ishtar_common/forms_common.py | 4 | 
3 files changed, 4 insertions, 2 deletions
diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md index b7ddf95cf..d0314cc17 100644 --- a/changelog/en/changelog_2022-06-15.md +++ b/changelog/en/changelog_2022-06-15.md @@ -7,6 +7,7 @@ v4.0.54 - 2099-12-31  - update password form: redirect to start page  - open registration form: disabled by default  - reset email form +- button to show password on admin change password form  ### Bug fixes ###  - fix find redirection after geo item creation/modification  diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md index 0bc164e75..0e32f8613 100644 --- a/changelog/fr/changelog_2023-01-25.md +++ b/changelog/fr/changelog_2023-01-25.md @@ -7,6 +7,7 @@ v4.0.54 - 2099-12-31  - formulaire de mise à jour mot de passe : redirection vers la page d'accueil  - formulaire d'inscription ouvert : désactivé par défaut  - formulaire de réinitialisation de mot de passe par courriel +- bouton pour montrer le mot de passe sur le formulaire administrateur de changement de mot de passe  ### Corrections de dysfonctionnements ###  - correction de redirection sur le mobilier après ajout/édition d'élement géographique diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 9e29f35e1..01c03ec45 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -1219,14 +1219,14 @@ class AccountForm(IshtarForm):      hidden_password = forms.CharField(          label=_("New password"),          max_length=128, -        widget=forms.PasswordInput, +        widget=forms.PasswordInput(attrs={'autocomplete': 'off', 'data-toggle': 'password'}),          required=False,          validators=[validators.MinLengthValidator(4)],      )      hidden_password_confirm = forms.CharField(          label=_("New password (confirmation)"),          max_length=128, -        widget=forms.PasswordInput, +        widget=forms.PasswordInput(attrs={'autocomplete': 'off', 'data-toggle': 'password'}),          required=False,      )  | 
