code: public String save() {
      String email = get("mail");
      String pwd = get("password");
      Map<String, Object> valueMap = CollectUtils.newHashMap();
      valueMap.put("password", pwd);
      valueMap.put("mail", email);
      UserBean user = (UserBean) userService.get(SecurityUtils.getUsername());
      user.setPassword(pwd);
      entityDao.saveOrUpdate(user);
      return redirect("infolet", "ok.passwordChanged");
    }
docs: 用户更新自己的密码和邮箱