3
build / build-push (push) Successful in 1m55s

This commit is contained in:
wanghu
2026-09-03 21:41:34 +08:00
parent 12a3f240eb
commit 37f50b7e61
@@ -110,7 +110,6 @@ namespace YhCore.WebApi.Middleware
context.Response.Headers.Remove("Location");
context.Response.ContentType = "application/json; charset=utf-8";
await context.Response.WriteAsync("{\"code\":302,\"urlToRedirectTo\":\"" + location + "\"}");
return;
}
// 未认证 → Challenge → 302 重定向 CAS 登录页(ticket 校验与回跳由新框架 CasAuthenticationHandler 处理)。