test+docs(dashboard): assert hub policy under disable-login; correct warning/doc wording

This commit is contained in:
Joseph Doherty
2026-06-16 09:30:13 -04:00
parent 7a2da4d8b6
commit ca443b1903
3 changed files with 5 additions and 2 deletions
@@ -73,7 +73,8 @@ public static class DashboardServiceCollectionExtensions
DashboardAuthenticationDefaults.AuthenticationScheme,
_ => { });
// Loud, once-at-startup warning (emitted when GatewayOptions is first resolved).
// Loud warning, emitted on first resolution of GatewayOptions (i.e. on the first
// request/options access, not guaranteed at process start). Dev-only safety notice.
services.AddOptions<GatewayOptions>().PostConfigure<ILoggerFactory>((gatewayOptions, loggerFactory) =>
loggerFactory
.CreateLogger("ZB.MOM.WW.MxGateway.Server.Dashboard.DisableLogin")