Is it just me or the forgot password (checkout/*/user/password) is not working?
indeed there is an issue for Commerce Checkout Redirect module it replaces the submit function
/** * Implements hook_form_FORM_ID_alter(). */ function commerce_checkout_redirect_form_user_pass_alter(&$form, &$form_state) { if (arg(0) == 'checkout' && arg(2) == 'user' && arg(3) == 'password') { $form['#submit'][0] = 'commerce_checkout_redirect_user_login_submit'; } }
this should be
/** * Implements hook_form_FORM_ID_alter(). */ function commerce_checkout_redirect_form_user_pass_alter(&$form, &$form_state) { if (arg(0) == 'checkout' && arg(2) == 'user' && arg(3) == 'password') { $form['#submit'][] = 'commerce_checkout_redirect_user_login_submit'; } }
here is a gerrit commit that uses an updated patch for the Commerce Checkout Redirect, about user password recovery (#1677106-4: Add user password recovery support.).
https://code.drupalcommerce.org/#/c/571/
Yes, it works. Thanks!
Merged.
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
vasikeindeed there is an issue for Commerce Checkout Redirect module
it replaces the submit function
this should be
Comment #2
vasikehere is a gerrit commit that uses an updated patch for the Commerce Checkout Redirect, about user password recovery (#1677106-4: Add user password recovery support.).
https://code.drupalcommerce.org/#/c/571/
Comment #3
akosipax commentedYes, it works. Thanks!
Comment #4
bojanz commentedMerged.