From 67b30db9b4267f0c15c9f2d173f86cafe619444a Mon Sep 17 00:00:00 2001 From: yuxh Date: Tue, 20 Jun 2023 15:29:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96SSO?= =?UTF-8?q?=E7=99=BB=E5=85=A5=E7=99=BB=E5=87=BAURL=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/sso/url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sso/url.go b/services/sso/url.go index e14e50e..ffb8c35 100644 --- a/services/sso/url.go +++ b/services/sso/url.go @@ -14,7 +14,7 @@ func GetLoginUrl(ident string, redirectUrl string, env ...string) string { } func GetLogoutUrl(ident string, env ...string) string { - uri := fmt.Sprintf("/admin/main/logout?ident=%s&redirectUrl=", ident) + uri := fmt.Sprintf("/admin/main/loginOut?ident=%s&redirectUrl=", ident) scheme, host := getSchemeAndHost(env...) return fmt.Sprintf("%s://%s%s", scheme, host, uri) }