X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2cd7af7e0b2ad97687849576ed4e3f52c37a6d55..32ffd66eb5cb888b47446ae5053ab57f8a1e83cf:/app/models/oauth_token.rb diff --git a/app/models/oauth_token.rb b/app/models/oauth_token.rb index b4519efe2..ae15dc658 100644 --- a/app/models/oauth_token.rb +++ b/app/models/oauth_token.rb @@ -52,7 +52,7 @@ class OauthToken < ApplicationRecord end def invalidate! - update(:invalidated_at => Time.now) + update(:invalidated_at => Time.now.utc) end def authorized?