feat: add maintenance ignore

This commit is contained in:
Polianin Nikita 2024-12-23 06:29:00 +03:00
parent 78254ed23d
commit 57b9819d13

View File

@ -80,6 +80,7 @@ public class SecurityController(IOptionsSnapshot<GeneralConfig> generalConfig) :
/// The current password policy
/// </returns>
[HttpGet("PasswordPolicy")]
[MaintenanceModeIgnore]
public ActionResult<PasswordPolicy> PasswordPolicy() =>
Ok(generalConfig.Value.PasswordPolicy.ConvertToDto());
}