Closed (fixed)
Project:
OpenID Provider
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2008 at 11:02 UTC
Updated:
7 Mar 2009 at 03:40 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| openid_prvider_cancel_checkid_setup.patch | 748 bytes | sanduhrs |
Comments
Comment #1
darren.ferguson commentedPatch is good, it takes you back and provides the cancel status for the request.
Have tested based on the code from contributions.
Comment #2
walkah commentedfixed, thanks sanduhrs!