X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5bc3054d61559107868dfa351b25d8f48c571151..9e2132b83dbf479c5ee2ef176b74d7a3c1082da0:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c2f1e644c..f07cacbd6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -40,8 +40,6 @@ class ApplicationController < ActionController::Base elsif session[:token] if @user = User.authenticate(:token => session[:token]) session[:user] = @user.id - else - reset_session end end rescue Exception => ex