sso 默认跳转地址修正

This commit is contained in:
thinkgem
2019-10-27 22:52:29 +08:00
parent 25d60183e8
commit a165c546f6

View File

@@ -47,7 +47,7 @@ public class SsoController extends BaseController{
*/
@RequestMapping(value = "sso/{username}/{token}")
public String sso(@PathVariable String username, @PathVariable String token,
@RequestParam(defaultValue="${adminPath}") String url, String relogin,
@RequestParam(defaultValue="${adminPath}/index") String url, String relogin,
HttpServletRequest request, HttpServletResponse response, Model model){
// 如果已经登录,并且是同一个人,并且不强制重新登录,则直接跳转到目标页
User user = UserUtils.getUser();