feat: add maintenance ignore
This commit is contained in:
parent
78254ed23d
commit
57b9819d13
@ -80,6 +80,7 @@ public class SecurityController(IOptionsSnapshot<GeneralConfig> generalConfig) :
|
|||||||
/// The current password policy
|
/// The current password policy
|
||||||
/// </returns>
|
/// </returns>
|
||||||
[HttpGet("PasswordPolicy")]
|
[HttpGet("PasswordPolicy")]
|
||||||
|
[MaintenanceModeIgnore]
|
||||||
public ActionResult<PasswordPolicy> PasswordPolicy() =>
|
public ActionResult<PasswordPolicy> PasswordPolicy() =>
|
||||||
Ok(generalConfig.Value.PasswordPolicy.ConvertToDto());
|
Ok(generalConfig.Value.PasswordPolicy.ConvertToDto());
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user