Sha256: 6adba5ce0bb23ae6dcc74f1e63b365b618cb18af55efba6f623c73ed06664948
Contents?: true
Size: 276 Bytes
Versions: 9
Compression:
Stored size: 276 Bytes
Contents
class User < ApplicationRecord include CanResetPassword # include MustVerifyEmail has_secure_password normalizes :email, with: ->(email) { email.strip.downcase } generates_token_for :password_reset, expires_in: 60.minutes do password_salt&.last(10) end end
Version data entries
9 entries across 9 versions & 1 rubygems