mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
templates, config documentation
This commit is contained in:
parent
0fa74d863d
commit
48ed2fd1aa
3 changed files with 9 additions and 0 deletions
3
app/views/devise/mailer/password_change.html.erb
Normal file
3
app/views/devise/mailer/password_change.html.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
<p>Hello <%= @resource.email %>!</p>
|
||||
|
||||
<p>We're contacting you to notify you that you're password has been changed.</p>
|
|
@ -105,6 +105,9 @@ Devise.setup do |config|
|
|||
# Setup a pepper to generate the encrypted password.
|
||||
# config.pepper = '<%= SecureRandom.hex(64) %>'
|
||||
|
||||
# Send a notification email on password change
|
||||
# config.send_password_change_notification = false
|
||||
|
||||
# ==> Configuration for :confirmable
|
||||
# A period that the user is allowed to access the website even without
|
||||
# confirming their account. For instance, if set to 2.days, the user will be
|
||||
|
|
3
lib/generators/templates/markerb/password_change.markerb
Normal file
3
lib/generators/templates/markerb/password_change.markerb
Normal file
|
@ -0,0 +1,3 @@
|
|||
<p>Hello <%= @resource.email %>!</p>
|
||||
|
||||
<p>We're contacting you to notify you that you're password has been changed.</p>
|
Loading…
Reference in a new issue