Browse Source

autocomplete=off

jmontoyaa 8 years ago
parent
commit
fe466b1b02
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/admin/user_add.php

+ 2 - 2
main/admin/user_add.php

@@ -126,7 +126,7 @@ $form->addElement('text', 'official_code', get_lang('OfficialCode'), array('size
 $form->applyFilter('official_code', 'html_filter');
 $form->applyFilter('official_code', 'trim');
 // Email
-$form->addElement('text', 'email', get_lang('Email'), array('size' => '40'));
+$form->addElement('text', 'email', get_lang('Email'), array('size' => '40', 'autocomplete' => 'off'));
 $form->addRule('email', get_lang('EmailWrong'), 'email');
 if (api_get_setting('registration', 'email') == 'true') {
     $form->addRule('email', get_lang('EmailWrong'), 'required');
@@ -138,7 +138,7 @@ if (api_get_setting('login_is_email') == 'true') {
 }
 
 // Phone
-$form->addElement('text', 'phone', get_lang('PhoneNumber'));
+$form->addElement('text', 'phone', get_lang('PhoneNumber'), ['autocomplete' => 'off']);
 // Picture
 $form->addFile(
     'picture',