Unique Password validation
When saving an institution, we need to validate that both the current_password
and new_password
values are unique. In other words, both fields should have a value that is not present for any other institution in either field. We also should add a DB index on the new_password
field to expedite these look-ups.