Expand reconfirmable comment on generator to match the module doc (#5748)

Explain the combined usage of `reconfirmable` with `send_email_changed_notification`.
[ci skip]
This commit is contained in:
soma-git-practice
2025-10-18 01:41:42 +09:00
committed by GitHub
parent b02bb5b75a
commit fa4749dddc

View File

@@ -157,6 +157,9 @@ 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.
# Also, when used in conjunction with `send_email_changed_notification`,
# the notification is sent to the original email when the change is requested,
# not when the unconfirmed email is confirmed.
config.reconfirmable = true
# Defines which key will be used when confirming an account