Skip to content

Commit

Permalink
fix: removed warning for secure ldap config
Browse files Browse the repository at this point in the history
Thanks to Pep Bartroli
  • Loading branch information
frankiejol committed Feb 9, 2023
1 parent db5d81b commit d3ec378
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Ravada.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ our %VALID_CONFIG = (
,server => undef
,port => undef
,size_limit => undef
,secure => undef
}
,log => undef
);
Expand Down
6 changes: 6 additions & 0 deletions t/02_config.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ sub check_db {
, foo => 3
}
}) , 0);

is(Ravada::_check_config( {
ldap => {
secure => 0
}
}),1);
}

#########################################################################
Expand Down

0 comments on commit d3ec378

Please sign in to comment.