我正在尝试重置用户的密码。但密码不是编码
String salt = saltSource instanceof NullSaltSource ? null : params.username
String userPass = springSecurityUiService.encodePassword(params.password, salt)
println(userPass) // here printing provided(123456) password directly
/* Update password */
User.executeUpdate("Update User b set b.password = " + springSecurityUiService.encodePassword(params.password, salt) + " WHERE b.personId=" + params.person.id)
redirect(controller: 'person', action: 'index')