diff options
author | Cindy Pallares <cindy@gitlab.com> | 2018-11-29 01:54:52 +0300 |
---|---|---|
committer | Cindy Pallares <cindy@gitlab.com> | 2018-11-29 03:14:23 +0300 |
commit | 82f455a8ca3ed366c25aa75e7f443b66a1693b07 (patch) | |
tree | d3ce12764d8fbcb85b2d56e4f6f69cf2bb220902 /config/initializers/devise.rb | |
parent | 5736d6606ad7c6d729baa6c4ef789a47ada4ceda (diff) |
Merge branch 'security-email-change-notification' into 'master'
[master] Resolve: "Provide email notification when a user changes their email address"
See merge request gitlab/gitlabhq!2587
Diffstat (limited to 'config/initializers/devise.rb')
-rw-r--r-- | config/initializers/devise.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 179e00cdbd0..67eabb0b4fc 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -103,6 +103,9 @@ Devise.setup do |config| # Send a notification email when the user's password is changed config.send_password_change_notification = true + # Send a notification email when the user's email is changed + config.send_email_changed_notification = true + # ==> Configuration for :validatable # Range for password length. Default is 6..128. config.password_length = 8..128 |