[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17279] include domain on redirect on autocreate user
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17279] include domain on redirect on autocreate user |
Date: |
Tue, 7 Nov 2017 13:13:20 -0500 (EST) |
Revision: 17279
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17279
Author: sigurdne
Date: 2017-11-07 13:13:20 -0500 (Tue, 07 Nov 2017)
Log Message:
-----------
include domain on redirect on autocreate user
Modified Paths:
--------------
trunk/helpdesk/inc/class.hook_helper.inc.php
Modified: trunk/helpdesk/inc/class.hook_helper.inc.php
===================================================================
--- trunk/helpdesk/inc/class.hook_helper.inc.php 2017-11-07 15:52:19 UTC
(rev 17278)
+++ trunk/helpdesk/inc/class.hook_helper.inc.php 2017-11-07 18:13:20 UTC
(rev 17279)
@@ -64,7 +64,13 @@
$account_id =
self::create_phpgw_account($account_lid, $fellesdata_user['firstname'],
$fellesdata_user['lastname'], $password, $group_lid);
if ($account_id)
{
-
$GLOBALS['phpgw']->redirect_link('/login.php', array());
+ $cd_array = array();
+
if(!empty($_GET['domain']))
+ {
+
$cd_array['domain'] = $_GET['domain'];
+ }
+
+
$GLOBALS['phpgw']->redirect_link('/login.php', $cd_array);
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17279] include domain on redirect on autocreate user,
sigurdne <=