use Drupal\Core\Form\FormStateInterface; /** * Implementa hook_form_alter(). */ function disable_autocomplete_login_form_alter(&$form, FormStateInterface $form_state, $form_id) { if ($form_id === 'user_login_form') { // Desactiva el autocompletar. $form['#attributes']['autocomplete'] = 'off'; if (isset($form['name'])) { $form['name']['#attributes']['autocomplete'] = 'off'; } if (isset($form['pass'])) { $form['pass']['#attributes']['autocomplete'] = 'off'; } } } Create new account | Centro Colombiano de Datos Oceanográficos
Skip to main content
Última actualización: 2024-12-26

Contrast:

AltoNormal

Facebook Portal Marítimo Colombiano Instagram Portal Marítimo Colombiano Twitter Portal Marítimo Colombiano  You tube Portal Marítimo ColombianoLinkedin Portal Marítimo Colombiano

Logo Dimar
Logo Ministerio de Defensa

Create new account

Thu, 12/26/2024 - 08:10
A valid email address. All emails from the system will be sent to this address. The email address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by email.
Several special characters are allowed, including space, period (.), hyphen (-), apostrophe ('), underscore (_), and the @ sign.
Your virtual face or picture.
One file only.
2 MB limit.
Allowed types: png gif jpg jpeg.
Contact settings
Allow other users to contact you via a personal contact form which keeps your email address hidden. Note that some privileged users such as site administrators are still able to contact you even if you choose to disable this feature.