]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/request_token.rb
Merge remote-tracking branch 'osmlab/iD-1.6.0'
[rails.git] / app / models / request_token.rb
index 6e4ec40c357aa46ccbb2a23cb87b5b8f1168f7e2..1ac502bc7659e747f2b37ddf7342276533ea9c2d 100644 (file)
@@ -21,7 +21,7 @@ class RequestToken < OauthToken
         params[p] = read_attribute(p)
       }
 
-      access_token = AccessToken.create(params, :without_protection => true)
+      access_token = AccessToken.create(params)
       invalidate!
       access_token
     end