Customize the Devise password_change
emails
This commit is contained in:
parent
84632f0aff
commit
dd1f56b5c4
2 changed files with 17 additions and 0 deletions
10
app/views/devise/mailer/password_change.html.haml
Normal file
10
app/views/devise/mailer/password_change.html.haml
Normal file
|
@ -0,0 +1,10 @@
|
|||
.center
|
||||
#content
|
||||
%h2 Hello, #{@resource.name}!
|
||||
%p
|
||||
The password for your GitLab account on
|
||||
#{link_to(Gitlab.config.gitlab.url, Gitlab.config.gitlab.url)}
|
||||
has successfully been changed.
|
||||
%p
|
||||
If you did not initiate this change, please contact your administrator
|
||||
immediately.
|
7
app/views/devise/mailer/password_change.text.erb
Normal file
7
app/views/devise/mailer/password_change.text.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
Hello, <%= @resource.name %>!
|
||||
|
||||
The password for your GitLab account on <%= Gitlab.config.gitlab.url %>
|
||||
has successfully been changed.
|
||||
|
||||
If you did not initiate this change, please contact your administrator
|
||||
immediately.
|
Loading…
Reference in a new issue