diff --git a/services/sso/url.go b/services/sso/url.go index a45b2fb..e14e50e 100644 --- a/services/sso/url.go +++ b/services/sso/url.go @@ -13,7 +13,7 @@ func GetLoginUrl(ident string, redirectUrl string, env ...string) string { return fmt.Sprintf("%s://%s%s", scheme, host, uri) } -func GetLogout(ident string, env ...string) string { +func GetLogoutUrl(ident string, env ...string) string { uri := fmt.Sprintf("/admin/main/logout?ident=%s&redirectUrl=", ident) scheme, host := getSchemeAndHost(env...) return fmt.Sprintf("%s://%s%s", scheme, host, uri)