diff options
author | Tudor Holton <tudor@tudorholton.com> | 2018-07-13 17:44:24 +1000 |
---|---|---|
committer | Tudor Holton <tudor@tudorholton.com> | 2018-07-13 17:44:24 +1000 |
commit | 81e287733d904e8f8fce1c91e42cf2933007c9cc (patch) | |
tree | 01146078eecd1a0fc610ae225192debed7925999 /endpoints/lib/auth/LDAP.php | |
parent | f3e62d8bce52f392b4faed4792e6e112d1777757 (diff) | |
parent | 3c61d5eae51e27082945f629d0076edf0c309f96 (diff) | |
download | phpvirtualbox-81e287733d904e8f8fce1c91e42cf2933007c9cc.zip phpvirtualbox-81e287733d904e8f8fce1c91e42cf2933007c9cc.tar.gz phpvirtualbox-81e287733d904e8f8fce1c91e42cf2933007c9cc.tar.bz2 |
Ready for release 5.2-1
Diffstat (limited to 'endpoints/lib/auth/LDAP.php')
-rw-r--r-- | endpoints/lib/auth/LDAP.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/endpoints/lib/auth/LDAP.php b/endpoints/lib/auth/LDAP.php index f4b4672..7e7d49e 100644 --- a/endpoints/lib/auth/LDAP.php +++ b/endpoints/lib/auth/LDAP.php @@ -60,10 +60,10 @@ class phpvbAuthLDAP implements phpvbAuth { return false; - $_SESSION['valid'] = true;
+ $_SESSION['valid'] = true; $_SESSION['user'] = $username; - $_SESSION['admin'] = (!$this->config['adminUser']) || ($_SESSION['user'] == $this->config['adminUser']);
- $_SESSION['authCheckHeartbeat'] = time();
+ $_SESSION['admin'] = (!$this->config['adminUser']) || ($_SESSION['user'] == $this->config['adminUser']); + $_SESSION['authCheckHeartbeat'] = time(); } |