X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1340fca8f17e4e3cce211e6eafed18cde7f57386..38b9f8f7927f09b32a94df87d1264f568f620480:/app/models/request_token.rb?ds=sidebyside diff --git a/app/models/request_token.rb b/app/models/request_token.rb index 6e4ec40c3..1ac502bc7 100644 --- a/app/models/request_token.rb +++ b/app/models/request_token.rb @@ -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