Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tpurschke committed Apr 7, 2024
1 parent 52f5729 commit ef8c6c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion roles/lib/files/FWO.Report/ReportBase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using FWO.GlobalConstants;
using FWO.Api.Client;
using FWO.GlobalConstants;
using FWO.Api.Data;
using FWO.Report.Filter;
using FWO.Config.Api;
Expand Down
6 changes: 0 additions & 6 deletions roles/middleware/files/FWO.Middleware.Server/Ldap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,11 @@ public void TestConnection()
{
if (!string.IsNullOrEmpty(SearchUser))
{
// connection.Bind(SearchUser, AesEnc.Decrypt(SearchUserPwd, AesEnc.GetMainKey()));
// TryBindEncryptedPwd(connection, SearchUser, SearchUserPwd);
// connection.Bind(SearchUser, SearchUserPwd);
if (!TryBind(connection, SearchUser, SearchUserPwd)) throw new Exception("Binding failed for search user");
// if (!connection.Bound) throw new Exception("Binding failed for search user");
}
if (!string.IsNullOrEmpty(WriteUser))
{
if (!TryBind(connection, WriteUser, WriteUserPwd)) throw new Exception("Binding failed for write user");
// connection.Bind(WriteUser, WriteUserPwd);
// if (!connection.Bound) throw new Exception("Binding failed for write user");
}
}
}
Expand Down

0 comments on commit ef8c6c1

Please sign in to comment.