Change rake secret to rails secret in comments

This commit is contained in:
Masato Oba
2017-11-02 15:37:51 +00:00
parent 7a7a099573
commit a88f88eb4b
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ module Devise
mattr_accessor :timeout_in
@@timeout_in = 30.minutes
# Used to hash the password. Please generate one with rake secret.
# Used to hash the password. Please generate one with rails secret.
mattr_accessor :pepper
@@pepper = nil

View File

@@ -10,7 +10,7 @@ module Devise
# DatabaseAuthenticatable adds the following options to devise_for:
#
# * +pepper+: a random string used to provide a more secure hash. Use
# `rake secret` to generate new keys.
# `rails secret` to generate new keys.
#
# * +stretches+: the cost given to bcrypt.
#