diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-19 11:17:34 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-19 11:53:56 +0200 |
commit | ee42cbd32355669304c63cbffe2c9d758e373fc2 (patch) | |
tree | 21aaeaed4fecccb6994b1c603912413082b88b75 /ogcp/static/AdminLTE/dist/img/photo3.jpg | |
parent | 2ae6f37e60955521eb8637127b37c76c19a7f607 (diff) |
views: make password optional in user/edit
Add the option to leave the password fields empty in the form.
When the passwords are not set the user keeps the old password
configuration.
Define a EditUserForm based on UserForm in forms/auth.py to remove
the InputRequired validator in the password fields.
Update the html template to make the password fields optional.
Diffstat (limited to 'ogcp/static/AdminLTE/dist/img/photo3.jpg')
0 files changed, 0 insertions, 0 deletions