|
@@ -496,10 +496,10 @@ public class UserController {
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getUrl", method = RequestMethod.GET, params = "_operate=updatePassword")
|
|
@RequestMapping(value = "/getUrl", method = RequestMethod.GET, params = "_operate=updatePassword")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
- public ModelMap getUpdatePasswordUrl(HttpServletRequest request) {
|
|
|
|
|
|
|
+ public ModelMap getUpdatePasswordUrl(HttpServletRequest request, String returnUrl) {
|
|
|
ModelMap map = new ModelMap();
|
|
ModelMap map = new ModelMap();
|
|
|
try {
|
|
try {
|
|
|
- map.put("url", SSOHelper.getUpdatePasswordUrl(request));
|
|
|
|
|
|
|
+ map.put("url", SSOHelper.getUpdatePasswordUrl(request, returnUrl));
|
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
}
|