HOR-4547
This commit is contained in:
@@ -2832,7 +2832,7 @@ class G
|
|||||||
* @param string $array_i
|
* @param string $array_i
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function array_merge_2(&$array, &$array_i)
|
public static function array_merge_2(&$array, &$array_i)
|
||||||
{
|
{
|
||||||
foreach ($array_i as $k => $v) {
|
foreach ($array_i as $k => $v) {
|
||||||
if (is_array($v)) {
|
if (is_array($v)) {
|
||||||
|
|||||||
@@ -926,7 +926,7 @@ class InstallerModule extends Controller
|
|||||||
->update([
|
->update([
|
||||||
'USR_USERNAME' => $adminUsername,
|
'USR_USERNAME' => $adminUsername,
|
||||||
'USR_LASTNAME' => $adminUsername,
|
'USR_LASTNAME' => $adminUsername,
|
||||||
'USR_PASSWORD' => Bootstrap::hashPassword($adminPassword, Bootstrap::hashBcrypt)
|
'USR_PASSWORD' => G::encryptHash($adminPassword)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
DB::connection(self::CONNECTION_INSTALL)
|
DB::connection(self::CONNECTION_INSTALL)
|
||||||
@@ -935,7 +935,7 @@ class InstallerModule extends Controller
|
|||||||
->update([
|
->update([
|
||||||
'USR_USERNAME' => $adminUsername,
|
'USR_USERNAME' => $adminUsername,
|
||||||
'USR_LASTNAME' => $adminUsername,
|
'USR_LASTNAME' => $adminUsername,
|
||||||
'USR_PASSWORD' => Bootstrap::hashPassword($adminPassword, Bootstrap::hashBcrypt)
|
'USR_PASSWORD' => G::encryptHash($adminPassword)
|
||||||
]);
|
]);
|
||||||
// Write the paths_installed.php file (contains all the information configured so far)
|
// Write the paths_installed.php file (contains all the information configured so far)
|
||||||
if (!file_exists(FILE_PATHS_INSTALLED)) {
|
if (!file_exists(FILE_PATHS_INSTALLED)) {
|
||||||
|
|||||||
@@ -160,7 +160,8 @@ switch ($_POST['action']) {
|
|||||||
$start = isset($_REQUEST['start']) ? $_REQUEST['start'] : 0;
|
$start = isset($_REQUEST['start']) ? $_REQUEST['start'] : 0;
|
||||||
$limit = isset($_REQUEST['limit']) ? $_REQUEST['limit'] : $limit_size;
|
$limit = isset($_REQUEST['limit']) ? $_REQUEST['limit'] : $limit_size;
|
||||||
$filter = isset($_REQUEST['textFilter']) ? $_REQUEST['textFilter'] : '';
|
$filter = isset($_REQUEST['textFilter']) ? $_REQUEST['textFilter'] : '';
|
||||||
$groupUid = $inputFilter->quoteSmart($_REQUEST['gUID'], Propel::getConnection("workflow")->getResource());
|
$connection = Propel::getConnection("workflow")->getResource();
|
||||||
|
$groupUid = $inputFilter->quoteSmart($_REQUEST['gUID'], $connection);
|
||||||
|
|
||||||
$groupUsers = new GroupUser();
|
$groupUsers = new GroupUser();
|
||||||
$type = $_POST['action'] === 'assignedMembers' ? 'USERS' : 'AVAILABLE-USERS';
|
$type = $_POST['action'] === 'assignedMembers' ? 'USERS' : 'AVAILABLE-USERS';
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ class Installer
|
|||||||
->where('USR_UID', '00000000000000000000000000000001')
|
->where('USR_UID', '00000000000000000000000000000001')
|
||||||
->update([
|
->update([
|
||||||
'USR_USERNAME' => $this->options['admin']['username'],
|
'USR_USERNAME' => $this->options['admin']['username'],
|
||||||
'USR_PASSWORD' => Bootstrap::hashPassword($this->options['admin']['password'], Bootstrap::hashBcrypt)
|
'USR_PASSWORD' => G::encryptHash($this->options['admin']['password'])
|
||||||
]);
|
]);
|
||||||
|
|
||||||
DB::connection(self::CONNECTION_INSTALL)
|
DB::connection(self::CONNECTION_INSTALL)
|
||||||
@@ -521,7 +521,7 @@ class Installer
|
|||||||
->where('USR_UID', '00000000000000000000000000000001')
|
->where('USR_UID', '00000000000000000000000000000001')
|
||||||
->update([
|
->update([
|
||||||
'USR_USERNAME' => $this->options['admin']['username'],
|
'USR_USERNAME' => $this->options['admin']['username'],
|
||||||
'USR_PASSWORD' => Bootstrap::hashPassword($this->options['admin']['password'], Bootstrap::hashBcrypt)
|
'USR_PASSWORD' => G::encryptHash($this->options['admin']['password'])
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user