X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..b5bcdbb2b603f335e64ba8d941e90e2a7dee9308:/app/models/request_token.rb?ds=inline diff --git a/app/models/request_token.rb b/app/models/request_token.rb index f7c9501b5..adeabb184 100644 --- a/app/models/request_token.rb +++ b/app/models/request_token.rb @@ -42,7 +42,7 @@ class RequestToken < OauthToken return false if authorized? self.user = user - self.authorized_at = Time.now + self.authorized_at = Time.now.utc self.verifier = OAuth::Helper.generate_key(20)[0, 20] unless oauth10? save end