Activate device email change confirmation

This commit is contained in:
simon lehericey 2019-07-04 16:49:33 +02:00 committed by Pierre de La Morinerie
parent d68d2be798
commit 0f9fdf3f75
5 changed files with 10 additions and 1 deletions

View file

@ -121,7 +121,7 @@ Devise.setup do |config|
# initial account confirmation) to be applied. Requires additional unconfirmed_email
# db field (see migrations). Until confirmed, new email is stored in
# unconfirmed_email column, and copied to email column on successful confirmation.
config.reconfirmable = false
config.reconfirmable = true
# Defines which key will be used when confirming an account
# config.confirmation_keys = [ :email ]