function ajax_register_user_pass_ajax_callback in Ajax Login/Register 7.4
Ajax callback for USER PASS form.
File
- ./
ajax_register.module, line 270
Code
function ajax_register_user_pass_ajax_callback($form, $form_state) {
if (!form_get_errors()) {
$commands = _ajax_register_execute_form('password', $form_state);
return array(
'#type' => 'ajax',
'#commands' => $commands,
);
}
// Reload form if it didn't pass validation.
return $form;
}