Skip to content

Commit

Permalink
When the iname is in the url (e.g. http://example.com/consumer/=mary)…
Browse files Browse the repository at this point in the history
… the Rails :id must be nullified so that the realm is valid.
  • Loading branch information
Mike Mell authored and chowells79 committed Jul 20, 2010
1 parent 1e5a40d commit 8f49a81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def start
oidreq.return_to_args['force_post']='x'*2048
end
return_to = url_for :action => 'complete', :only_path => false
realm = url_for :action => 'index', :only_path => false
realm = url_for :action => 'index', :id => nil, :only_path => false

if oidreq.send_redirect?(realm, return_to, params[:immediate])
redirect_to oidreq.redirect_url(realm, return_to, params[:immediate])
Expand Down

0 comments on commit 8f49a81

Please sign in to comment.