mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-12-26 22:25:39 +08:00
优化 SaSsoHandle.checkTicket(ticket, currUri); 方法,使其不提供 currUri 参数时将不再注册单点注销回调。
This commit is contained in:
@@ -363,7 +363,7 @@ public class SaSsoHandle {
|
||||
if(cfg.getIsHttp()) {
|
||||
// 模式三:使用 http 请求从认证中心校验ticket
|
||||
String ssoLogoutCall = null;
|
||||
if(cfg.getIsSlo()) {
|
||||
if(cfg.getIsSlo() && SaFoxUtil.isNotEmpty(currUri)) {
|
||||
ssoLogoutCall = SaHolder.getRequest().getUrl().replace(currUri, Api.ssoLogoutCall);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user