X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3453cf57df864b008dca6479f84504f81c0b131..6c3b5aa9d46577818723e669d6fc64f1bb30cc01:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index d08f34a0a..e6d09f18d 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -37,8 +37,6 @@ class SiteController < ApplicationController if editor == "josm" render :action => :index else - session[:token] = @user.tokens.create.token unless session[:token] and UserToken.find_by_token(session[:token]) - # Decide on a lat lon to initialise potlatch with. Various ways of doing this if params['lon'] and params['lat'] @lon = params['lon'].to_f