rashidkpc/Kibana — pull request #200 by smsldoo (2012-12-12 18:45:49+00:00)
Title: Added check for empty password field, does not set password to blank if ...

Not sure what the desired effect is, but if you change a users settings right now and do not provide a new password (or their old password) it will set the password to nothing. I do see a if check to see if pass1 is nil, but it is set and empty, at least from firefox.

Added additional check to see if it is empty, if it contains a value it will update the users password.

This does not take in to account checking to see if there is a password already set (or if the user exists). So new accounts could be set to have an empty password, this is probably not desired.