X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..93a617fec9febfb74040cab5bda0891075703ab1:/app/controllers/oauth_controller.rb diff --git a/app/controllers/oauth_controller.rb b/app/controllers/oauth_controller.rb index ed7853d6c..8ce53739f 100644 --- a/app/controllers/oauth_controller.rb +++ b/app/controllers/oauth_controller.rb @@ -38,11 +38,6 @@ class OauthController < ApplicationController protected def oauth1_authorize - unless @token - render :action => "authorize_failure" - return - end - if @token.invalidated? @message = t "oauth.oauthorize_failure.invalid" render :action => "authorize_failure"