Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 6f33524

Browse files
committed
Fixed the problem with access to non-secured LDAP
1 parent c9067a5 commit 6f33524

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ All notable changes to this project will be documented in this file.
1818
- Function unauthorize in PerunIdentity is now public
1919
- Changed the login and registration process
2020

21+
[Fixed]
22+
- Fixed the problem with access to non-secured LDAP
23+
2124
## [v1.0.0]
2225

2326
[Unreleased]: https://github.com/CESNET/perun-simplesamlphp-module/tree/master

lib/AdapterLdap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function __construct ($configFileName = null)
3535
$conf = SimpleSAML_Configuration::getConfig($configFileName);
3636

3737
$this->ldapHostname = $conf->getString(self::LDAP_HOSTNAME);
38-
$this->ldapUser = $conf->getString(self::LDAP_USER);
39-
$this->ldapPassword = $conf->getString(self::LDAP_PASSWORD);
38+
$this->ldapUser = $conf->getString(self::LDAP_USER, null);
39+
$this->ldapPassword = $conf->getString(self::LDAP_PASSWORD, null);
4040
$this->ldapBase = $conf->getString(self::LDAP_BASE);
4141

4242

0 commit comments

Comments
 (0)