X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff7ddb6b86bf918a9418af7382836b41594d45e4..242a4a1aee96fb145e5e0394962e5057bcb59d92:/app/models/user_token.rb diff --git a/app/models/user_token.rb b/app/models/user_token.rb index 8c9bf4aeb..f927563a9 100644 --- a/app/models/user_token.rb +++ b/app/models/user_token.rb @@ -24,7 +24,7 @@ class UserToken < ApplicationRecord after_initialize :set_defaults def expired? - expiry < Time.now + expiry < Time.now.utc end private