mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
#I66S79 CAS退出跳转报错问题
This commit is contained in:
parent
f84e1d5607
commit
9e96f43c00
@ -184,7 +184,7 @@ public class CasAuthorizeEndpoint extends CasBaseAuthorizeEndpoint{
|
||||
@RequestMapping(CasConstants.ENDPOINT.ENDPOINT_LOGOUT)
|
||||
public ModelAndView logout(HttpServletRequest request , HttpServletResponse response,
|
||||
@RequestParam(value = CasConstants.PARAMETER.SERVICE , required = false) String casService){
|
||||
StringBuffer logoutUrl = new StringBuffer("force/logout");
|
||||
StringBuffer logoutUrl = new StringBuffer("/force/logout");
|
||||
if(StringUtils.isNotBlank(casService)){
|
||||
logoutUrl.append("?").append("redirect_uri=").append(casService);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user