fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16628] more on sso


From: sigurdne
Subject: [Fmsystem-commits] [16628] more on sso
Date: Wed, 26 Apr 2017 05:13:32 -0400 (EDT)

Revision: 16628
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16628
Author:   sigurdne
Date:     2017-04-26 05:13:32 -0400 (Wed, 26 Apr 2017)
Log Message:
-----------
more on sso

Modified Paths:
--------------
    trunk/phpgwapi/inc/auth/class.auth_customsso.inc.php

Modified: trunk/phpgwapi/inc/auth/class.auth_customsso.inc.php
===================================================================
--- trunk/phpgwapi/inc/auth/class.auth_customsso.inc.php        2017-04-26 
08:56:29 UTC (rev 16627)
+++ trunk/phpgwapi/inc/auth/class.auth_customsso.inc.php        2017-04-26 
09:13:32 UTC (rev 16628)
@@ -74,9 +74,10 @@
 
                public function get_username()
                {
-                       $ssn = $_SERVER['uid'];
+                       $headers = getallheaders();
+                       $ssn = $headers['uid'];
 
-                       $remote_user = explode('@', $_SERVER['REMOTE_USER']);
+                       $remote_user = explode('@', $headers['REMOTE_USER']);
                        $username  = $remote_user[0];
 
                        /**




reply via email to

[Prev in Thread] Current Thread [Next in Thread]