The Cancel button in the openid_provider_form doesn't have any effect.

Pressing the button calls openid_redirect($return_to, $response) , where $return_to is empty, because it get's filled with $form_state['values']['openid.return_to'] which always is empty, as the desired value is stored in $form_state['storage']['response']['openid.return_to'] .

Patch attached, please review.

CommentFileSizeAuthor
openid_prvider_cancel_checkid_setup.patch748 bytessanduhrs

Comments

darren.ferguson’s picture

Status: Needs review » Reviewed & tested by the community

Patch is good, it takes you back and provides the cancel status for the request.

Have tested based on the code from contributions.

walkah’s picture

Status: Reviewed & tested by the community » Fixed

fixed, thanks sanduhrs!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.