X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..9aaea24702d0d36038422e6a0c77d526f04e61d5:/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"