#12435 external link users fix
This commit is contained in:
parent
abe950e7d7
commit
c6d29ea60e
|
@ -1,5 +1,7 @@
|
|||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE `tusuario` CHANGE COLUMN `metaconsole_data_section` `metaconsole_data_section` TEXT NOT NULL DEFAULT '' ;
|
||||
|
||||
DELETE FROM `twelcome_tip` WHERE `title` = 'Automatic agent provision system';
|
||||
|
||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
||||
|
|
|
@ -427,7 +427,7 @@ if ($create_user === true) {
|
|||
} else if ($values['section'] === HOME_SCREEN_OTHER) {
|
||||
$values['data_section'] = get_parameter('data_section_other');
|
||||
} else if (io_safe_output($values['section']) === HOME_SCREEN_EXTERNAL_LINK) {
|
||||
$values['data_section'] = get_parameter('data_section_external');
|
||||
$values['data_section'] = get_parameter('data_section');
|
||||
}
|
||||
|
||||
// $values['section'] = $homeScreenValues[$values['section']];
|
||||
|
@ -727,7 +727,7 @@ if ($update_user) {
|
|||
} else if ($values['section'] === HOME_SCREEN_OTHER) {
|
||||
$values['data_section'] = get_parameter('data_section_other');
|
||||
} else if (io_safe_output($values['section']) === HOME_SCREEN_EXTERNAL_LINK) {
|
||||
$values['data_section'] = get_parameter('data_section_external');
|
||||
$values['data_section'] = get_parameter('data_section');
|
||||
}
|
||||
|
||||
// $values['section'] = $homeScreenValues[$values['section']];
|
||||
|
|
|
@ -118,7 +118,7 @@ $customHomeScreenAddition[HOME_SCREEN_EXTERNAL_LINK] = html_print_input_text(
|
|||
$user_info['data_section'],
|
||||
'',
|
||||
60,
|
||||
255,
|
||||
999,
|
||||
true
|
||||
);
|
||||
$customHomeScreenDataField = '';
|
||||
|
|
|
@ -1292,7 +1292,7 @@ CREATE TABLE IF NOT EXISTS `tusuario` (
|
|||
`section` TEXT,
|
||||
`data_section` TEXT,
|
||||
`metaconsole_section` VARCHAR(255) NOT NULL DEFAULT 'Default',
|
||||
`metaconsole_data_section` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`metaconsole_data_section` TEXT,
|
||||
`force_change_pass` TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
`last_pass_change` DATETIME,
|
||||
`last_failed_login` DATETIME,
|
||||
|
|
Loading…
Reference in New Issue