fix: resolve linting errors, refs NOISSUE

This commit is contained in:
2025-05-18 11:42:09 +02:00
parent 055cf79354
commit 083038d76c
5 changed files with 13 additions and 10 deletions

View File

@@ -19,7 +19,8 @@ public class AppConfiguration
this.AverageDaysBetweenRequests = int.Parse(Environment.GetEnvironmentVariable("AVERAGE_DAYS_BETWEEN_REQUESTS") ?? "2");
var managersGroupName = Environment.GetEnvironmentVariable("LDAP_ADMINGROUP") ?? "admins";
var userGroupName = Environment.GetEnvironmentVariable("LDAP_USERGROUP") ?? "everybody";
this.LDAPConfig = new ConfigurationAD() {
this.LDAPConfig = new ConfigurationAD()
{
Username = Environment.GetEnvironmentVariable("LDAP_BIND") ?? "cn=admin,dc=disi,dc=dev",
Password = Environment.GetEnvironmentVariable("LDAP_PASS") ?? "adminPass2022!",
Port = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("LDAP_BIND")) ? int.Parse(Environment.GetEnvironmentVariable("LDAP_BIND")) : 389,
@@ -91,7 +92,8 @@ public class AppConfiguration
get; private set;
}
public ConfigurationAD LDAPConfig {
public ConfigurationAD LDAPConfig
{
get; private set;
}
}