diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php
index 2c33acdea6..0626c4de3b 100644
--- a/pandora_console/operation/users/user_edit.php
+++ b/pandora_console/operation/users/user_edit.php
@@ -376,9 +376,12 @@ $table->data[] = $data;
// Double auth
$double_auth_enabled = (bool) db_get_value('id', 'tuser_double_auth', 'id_user', $config['id_user']);
$data = array();
-$data[0] = ''.__('Double authentication').'';
-$data[0] .= $jump;
-$data[0] .= ''.html_print_checkbox('double_auth', 1, $double_auth_enabled, true).'';
+if ($config['double_auth_enabled']) {
+ $data[0] = ''.__('Double authentication').'';
+ $data[0] .= $jump;
+ $data[0] .= ''.html_print_checkbox('double_auth', 1, $double_auth_enabled, true).'';
+}
+
if ($double_auth_enabled) {
$data[0] .= $jump;
$data[0] .= html_print_button(__('Show information'), 'show_info', false, 'javascript:show_double_auth_info();', '', true);