You are here

function user_pass_dialog_success in Dialog 6

dialog_success handler for the user password form. The standard password form submit handler sets a message and redirects to 'user', leaving the user on the login form. That is emulated here by redirecting to the ajax version of the user login form. Since this function is only ever called in an ajax context, it is safe to redirect to another ajax handler.

File

modules/dialog_user/dialog_user.module, line 102

Code

function user_pass_dialog_success($form_state) {
  drupal_goto('user/login/ajax');
}