Update application.rb

This commit is contained in:
Руслан 2023-07-31 19:24:06 +06:00 committed by GitHub
parent e7e1ebd228
commit bf5bc3de69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ class Application
users = []
if defined?(@groups_fname)
if @groups_fname != ''
@groups = read_groups_from_file(@groups_fname)
res = @ldap.search(
@ -169,7 +169,7 @@ class Application
groups = []
if defined?(@groups_fname)
if @groups_fname != ''
res = @ldap.search(
base: ldap_group_conf[:base],
filter: format_groups_for_ldap_users(@groups, ldap_user_conf[:filter]),