has_secure_password :recovery_password
This commit is contained in:
parent
49998ee5b7
commit
639eb2ba04
5 changed files with 14 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
class User < ApplicationRecord
|
||||
has_secure_password
|
||||
has_secure_password :recovery_password, validations: false
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue