]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/oauth_token.rb
Bump qs from 6.11.0 to 6.11.1
[rails.git] / app / models / oauth_token.rb
index b4519efe21642a0b60693e6279d2eeb32d59fde7..ae15dc658e73ec726bc78d989505ad34ce8fac88 100644 (file)
@@ -52,7 +52,7 @@ class OauthToken < ApplicationRecord
   end
 
   def invalidate!
-    update(:invalidated_at => Time.now)
+    update(:invalidated_at => Time.now.utc)
   end
 
   def authorized?