From 57b9819d1387713387d7ac1653985775b3da2a1f Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Mon, 23 Dec 2024 06:29:00 +0300 Subject: [PATCH] feat: add maintenance ignore --- Endpoint/Controllers/V1/SecurityController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Endpoint/Controllers/V1/SecurityController.cs b/Endpoint/Controllers/V1/SecurityController.cs index 4024d71..b789e0d 100644 --- a/Endpoint/Controllers/V1/SecurityController.cs +++ b/Endpoint/Controllers/V1/SecurityController.cs @@ -80,6 +80,7 @@ public class SecurityController(IOptionsSnapshot generalConfig) : /// The current password policy /// [HttpGet("PasswordPolicy")] + [MaintenanceModeIgnore] public ActionResult PasswordPolicy() => Ok(generalConfig.Value.PasswordPolicy.ConvertToDto()); } \ No newline at end of file