diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php
index f400961b0c..869a504c8f 100644
--- a/pandora_console/godmode/users/configure_user.php
+++ b/pandora_console/godmode/users/configure_user.php
@@ -1045,6 +1045,22 @@ if (!$new_user) {
);
$user_id .= $apiTokenContent;
+
+ $CodeQRContent .= html_print_div(['id' => 'qr_container_image', 'class' => 'scale-0-8'], true);
+ $CodeQRContent .= html_print_anchor(
+ ['id' => 'qr_code_agent_view'],
+ true
+ );
+ $CodeQRContent .= '
'.$custom_id_div;
+
+ // QR code div.
+ $CodeQRTable = html_print_div(
+ [
+ 'class' => 'agent_qr',
+ 'content' => $CodeQRContent,
+ ],
+ true
+ );
} else {
$user_id = '
'.html_print_input_text_extended(
'id_user',
diff --git a/pandora_console/godmode/users/user_management.php b/pandora_console/godmode/users/user_management.php
index 9e648a7a03..eaf9032e76 100644
--- a/pandora_console/godmode/users/user_management.php
+++ b/pandora_console/godmode/users/user_management.php
@@ -258,7 +258,7 @@ if (users_is_admin() === true) {
// Password management.
$passwordManageTable = new stdClass();
-$passwordManageTable->class = 'table_section full_section';
+$passwordManageTable->class = 'full_section';
$passwordManageTable->id = 'password_manage';
$passwordManageTable->style = [];
$passwordManageTable->rowclass = [];
@@ -605,7 +605,7 @@ $userManagementTable->data['fields_blocksize_eventfilter'][1] = html_print_selec
if (is_metaconsole() === false) {
// Home screen table.
$homeScreenTable = new stdClass();
- $homeScreenTable->class = 'w100p table_section full_section';
+ $homeScreenTable->class = 'w100p full_section';
$homeScreenTable->id = 'home_screen_table';
$homeScreenTable->style = [];
$homeScreenTable->rowclass = [];
@@ -736,22 +736,6 @@ $userManagementTable->data['fields_addSettings'][1] .= html_print_div(
true
);
-$CodeQRContent .= html_print_div(['id' => 'qr_container_image', 'class' => 'scale-0-8'], true);
-$CodeQRContent .= html_print_anchor(
- ['id' => 'qr_code_agent_view'],
- true
-);
-$CodeQRContent .= '
'.$custom_id_div;
-
-// QR code div.
-$CodeQRTable = html_print_div(
- [
- 'class' => 'agent_qr',
- 'content' => $CodeQRContent,
- ],
- true
-);
-
// QR Code and API Token advice.
html_print_div(
[
diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php
index 305d2c5d7d..37054a3e86 100644
--- a/pandora_console/include/functions_html.php
+++ b/pandora_console/include/functions_html.php
@@ -6912,12 +6912,12 @@ function html_print_label_input_block(
function html_print_go_top()
{
$output = '
';
- $output .= '';
- $output .= '