[Fusionforge-commits] FusionForge branch master updated. 6.0.4-989-g9f845e6
Franck Villaume
nerville at libremir.placard.fr.eu.org
Thu Oct 6 12:07:13 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 9f845e6d6f81bed345798bf40ed890957e297008 (commit)
from ebf771d42c992a05c69b5d4a37213341c8c3be05 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=9f845e6d6f81bed345798bf40ed890957e297008
commit 9f845e6d6f81bed345798bf40ed890957e297008
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Thu Oct 6 12:07:08 2016 +0200
fix AuthLDAP cookie creation with use_x_forward_user flag
diff --git a/src/plugins/authldap/common/AuthLDAPPlugin.class.php b/src/plugins/authldap/common/AuthLDAPPlugin.class.php
index e432954..800789d 100644
--- a/src/plugins/authldap/common/AuthLDAPPlugin.class.php
+++ b/src/plugins/authldap/common/AuthLDAPPlugin.class.php
@@ -374,6 +374,13 @@ into the FusionForge database.");
$user_id = false;
}
}
+ if ($user_id) {
+ $this->saved_user = $userObject;
+ $cookie_user_id = $this->checkSessionCookie();
+ if ($cookie_user_id != $user_id) {
+ $this->setSessionCookie();
+ }
+ }
} else {
$user_id = $this->checkSessionCookie();
}
-----------------------------------------------------------------------
Summary of changes:
src/plugins/authldap/common/AuthLDAPPlugin.class.php | 7 +++++++
1 file changed, 7 insertions(+)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list