summaryrefslogtreecommitdiffstats
path: root/ogcp/forms/action_forms.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-19 11:17:34 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-19 11:53:56 +0200
commitee42cbd32355669304c63cbffe2c9d758e373fc2 (patch)
tree21aaeaed4fecccb6994b1c603912413082b88b75 /ogcp/forms/action_forms.py
parent2ae6f37e60955521eb8637127b37c76c19a7f607 (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/forms/action_forms.py')
0 files changed, 0 insertions, 0 deletions