blob: 1ff33791530152221a510a689f566bf0197e9b36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class User
extend ActiveModel::Callbacks
include ActiveModel::SecurePassword
define_model_callbacks :create
has_secure_password
has_secure_password :activation_token, validations: false
attr_accessor :password_digest, :activation_token_digest
end
|