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