Enable password resets
Nice, just turning it on seemed to do all we need for now! Fair questions to be asked about like, should you be able to look up by username instead of email? But like idk, this feels simpler *and* more solid, to give you feedback on if it's the right email.
This commit is contained in:
parent
33b2953949
commit
82be3bf5f9
1 changed files with 1 additions and 3 deletions
|
@ -2,9 +2,7 @@ class AuthUser < AuthRecord
|
|||
self.table_name = 'users'
|
||||
|
||||
devise :database_authenticatable, :encryptable, :registerable, :validatable,
|
||||
:rememberable, :trackable
|
||||
# devise :database_authenticatable, :lockable, :registerable, :recoverable,
|
||||
# :trackable, :validatable
|
||||
:rememberable, :trackable, :recoverable
|
||||
|
||||
validates :name, presence: true, uniqueness: {case_sensitive: false},
|
||||
length: {maximum: 20}
|
||||
|
|
Loading…
Reference in a new issue