]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/oauth_controller.rb
Converted inkscape font info to font-family
[rails.git] / app / controllers / oauth_controller.rb
index ed7853d6c33cacab6595a3cf679db69889d91c12..8ce53739fdff427bd656f9b9aba7b7c90aec273c 100644 (file)
@@ -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"