Unverified Commit 99de4172 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(templates) Fix userPassword handling in templates

When hash is set but not the password value (which is the default if you
 leave the template fields empty), applying the template to a user would
 result in changing its password, even if he already uses the same hash
 method.
With this change it will leave its password alone if it already uses the
 method, and if the method changed it should complain and ask for a new
 password.
This should avoid users erasing passwords by mistake.

issue #6035
Showing with 16 additions and 16 deletions
+16 -16
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment