user_form_process_password_confirm
function user_form_process_password_confirm
user_form_process_password_confirm($element)
Form element process handler for client-side password validation.
This #process handler is automatically invoked for 'password_confirm' form elements to add the JavaScript and string translations for dynamic password validation.
See also
File
- modules/user/user.module, line 3651
- Enables the user registration and login system.
Code
function user_form_process_password_confirm($element) { global $user; $js_settings = array( 'password' => array( 'strengthTitle' => t('Passwo