gitlab-org--gitlab-foss/app/views/devise/mailer/email_changed.html.haml
Cindy Pallares 82f455a8ca
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
2018-11-28 19:14:23 -05:00

12 lines
412 B
Text

= email_default_heading("Hello, #{@resource.name}!")
- if @resource.try(:unconfirmed_email?)
%p
We're contacting you to notify you that your email is being changed to #{@resource.reload.unconfirmed_email}.
- else
%p
We're contacting you to notify you that your email has been changed to #{@resource.email}.
%p
If you did not initiate this change, please contact your administrator
immediately.