Sha256: 230371930539851ff1872d32ba0b5de989ade380d4b5a7caf5ed703d21265f7d
Contents?: true
Size: 316 Bytes
Versions: 15
Compression:
Stored size: 316 Bytes
Contents
# frozen_string_literal: true module QuoVadis class PasswordResetToken < Token class << self def expires_at QuoVadis.password_reset_token_lifetime.from_now.to_i end def data_for_hmac(data, account) "#{data}-#{account.password.password_digest}" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems