OpenConferenceWare is an open source web application for events and conferences. This customizable, general-purpose platform provides proposals, sessions, schedules, tracks and more.
The current login/logout urls don't carry the event_id with them, which means that when you go to an event URL and log in, you can end up logged in to a different event (depending what the default is). Fix this by adjusting the routes to carry the event_id through both log in and logout.
The current login/logout urls don't carry the event_id with them, which means that when you go to an event URL and log in, you can end up logged in to a different event (depending what the default is). Fix this by adjusting the routes to carry the event_id through both log in and logout.
Fix like this:
diff --git a/config/routes.rb b/config/routes.rb index d066faa..cc5135b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -48,8 +48,8 @@ ActionController::Routing::Routes.draw do |map| user.formatted_modify_favorites 'favorites/modify.:format', { :controller => 'user_favorites', :action => 'modify', :conditions => { :method => :put } } end map.open_id_complete '/browser_session', :controller => "browser_sessions", :action => "create", :requirements => { :method => :get }