// Must have matching passwords and confirm passwords
if ( !StringUtils.isEmpty(userForm.getPasswordText())
&& !StringUtils.isEmpty(userForm.getPasswordConfirm())) {
try {
user.resetPassword(RollerFactory.getRoller(),
userForm.getPasswordText(),
userForm.getPasswordConfirm());
} catch (RollerException e) {
msgs.add(ActionErrors.GLOBAL_ERROR,
new ActionError("userSettings.passwordResetError"));