mirror of
https://github.com/dkmstr/openuds.git
synced 2025-11-11 12:24:17 +03:00
Son minimal cosmetic refactorizations
This commit is contained in:
@@ -497,7 +497,7 @@ class RegexLdap(auths.Authenticator):
|
||||
try:
|
||||
if (
|
||||
len(
|
||||
ensure.is_list(
|
||||
ensure.as_list(
|
||||
con.search_ext_s( # pyright: ignore reportUnknownMemberType
|
||||
base=self.ldap_base.as_str(),
|
||||
scope=ldaputil.SCOPE_SUBTREE, # pyright: ignore reportUnknownMemberType
|
||||
@@ -520,7 +520,7 @@ class RegexLdap(auths.Authenticator):
|
||||
try:
|
||||
if (
|
||||
len(
|
||||
ensure.is_list(
|
||||
ensure.as_list(
|
||||
con.search_ext_s( # pyright: ignore reportUnknownMemberType
|
||||
base=self.ldap_base.as_str(),
|
||||
scope=ldaputil.SCOPE_SUBTREE, # pyright: ignore reportUnknownMemberType
|
||||
@@ -546,7 +546,7 @@ class RegexLdap(auths.Authenticator):
|
||||
try:
|
||||
if (
|
||||
len(
|
||||
ensure.is_list(
|
||||
ensure.as_list(
|
||||
con.search_ext_s( # pyright: ignore reportUnknownMemberType
|
||||
base=self.ldap_base.as_str(),
|
||||
scope=ldaputil.SCOPE_SUBTREE, # pyright: ignore reportUnknownMemberType
|
||||
|
||||
Reference in New Issue
Block a user