No user password change if the function is deactivated

Task #10107

 

In the admin dashboard you can set per client whether the user password is forced, optional or deactivated. If password change is deactivated, the ‘Forgot password’ function must also be blocked accordingly during login.

This trouble was adjusted accordingly.