1
build / build-push (push) Failing after 18s

This commit is contained in:
wanghu
2026-09-02 10:49:34 +08:00
parent 8c840aa933
commit d61ab66451
-1
View File
@@ -210,7 +210,6 @@ namespace YhCore.WebApi
await context.Response.WriteAsync("未登录(SSO 未开启或 Cookie 失效)"); await context.Response.WriteAsync("未登录(SSO 未开启或 Cookie 失效)");
return; return;
} }
var name = user.Identity?.Name ?? "-"; var name = user.Identity?.Name ?? "-";
var id = user.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier)?.Value ?? "-"; var id = user.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier)?.Value ?? "-";
var school = user.FindFirst("schoolname")?.Value ?? "-"; var school = user.FindFirst("schoolname")?.Value ?? "-";