[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16446] adapt for shibboleth
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16446] adapt for shibboleth |
Date: |
Thu, 16 Mar 2017 13:57:36 -0400 (EDT) |
Revision: 16446
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16446
Author: sigurdne
Date: 2017-03-16 13:57:36 -0400 (Thu, 16 Mar 2017)
Log Message:
-----------
adapt for shibboleth
Modified Paths:
--------------
trunk/phpgwapi/inc/class.login.inc.php
Modified: trunk/phpgwapi/inc/class.login.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.login.inc.php 2017-03-16 17:13:25 UTC (rev
16445)
+++ trunk/phpgwapi/inc/class.login.inc.php 2017-03-16 17:57:36 UTC (rev
16446)
@@ -132,7 +132,8 @@
if ($GLOBALS['phpgw_info']['server']['auth_type'] ==
'ntlm' && isset($_SERVER['REMOTE_USER']) && (!isset($_REQUEST['skip_remote'])
|| !$_REQUEST['skip_remote']))
{
- $login = $_SERVER['REMOTE_USER'];
+ $remote_user = explode('@',
$_SERVER['REMOTE_USER']);
+ $login =
$remote_user[0];//$_SERVER['REMOTE_USER'];
$passwd = '';
$GLOBALS['hook_values'] = array
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16446] adapt for shibboleth,
sigurdne <=