has_secure_password :recovery_password

This commit is contained in:
Karol Selak 2021-03-21 11:12:14 +01:00
parent 49998ee5b7
commit 639eb2ba04
5 changed files with 14 additions and 7 deletions

View file

@ -1,3 +1,4 @@
class User < ApplicationRecord
has_secure_password
has_secure_password :recovery_password, validations: false
end