]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/oauth2_verifier.rb
Remove unused not_an_admin locale string
[rails.git] / app / models / oauth2_verifier.rb
index 3eca1038c22333263f8d213974d90ba78066395f..1613eabeb516701976889d4550a8fa715126f074 100644 (file)
@@ -67,6 +67,6 @@ class Oauth2Verifier < OauthToken
   def generate_keys
     self.token = OAuth::Helper.generate_key(20)[0, 20]
     self.expires_at = 10.minutes.from_now
-    self.authorized_at = Time.now
+    self.authorized_at = Time.now.utc
   end
 end