X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/34e3e51456774127d43408b7ab65c24f41373f62..ef7f3d800cbdd49b692df10d312e5fd880e2e938:/app/controllers/oauth_controller.rb diff --git a/app/controllers/oauth_controller.rb b/app/controllers/oauth_controller.rb index c7251f0a7..4f094b981 100644 --- a/app/controllers/oauth_controller.rb +++ b/app/controllers/oauth_controller.rb @@ -35,11 +35,11 @@ class OauthController < ApplicationController redirect_to oauth_clients_url(:display_name => @token.user.display_name) end -protected + protected def oauth1_authorize unless @token - render :action=>"authorize_failure" + render :action => "authorize_failure" return end