X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3426976606d30278fcf5ed279d3c95900785c4a5..b5f06e06c14f440d3c014b348149fe9ec1b67657:/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