]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Test that the user has cookies enabled at critical points where we
[rails.git] / app / controllers / user_controller.rb
index 93cc3a6a5688e480116ee7c84b0ae362086b3e3c..3ea7fa8fdaadcf671585f8bd9cd4ffe13ed110bb 100644 (file)
@@ -10,6 +10,7 @@ class UserController < ApplicationController
   before_filter :check_api_readable, :only => [:api_details, :api_gpx_files]
   before_filter :require_allow_read_prefs, :only => [:api_details]
   before_filter :require_allow_read_gpx, :only => [:api_gpx_files]
+  before_filter :require_cookies, :only => [:login, :confirm]
 
   filter_parameter_logging :password, :pass_crypt, :pass_crypt_confirmation