4 ms·
did you even look at what was matched? Change the cookie secret token at config/initializers/secret_token.rb Create a config/initializers/secret_token.rb file
by mikeryan 14y ago
did you even look at what was matched?
Change the cookie secret token at config/initializers/secret_token.rb
Create a config/initializers/secret_token.rb file:
That will rename your app in the following files: ... config/initializers/secret_token.rb
Change your Application’s Secret Token ...
Change the secret token at /config/initializers/secret_token.rb
Those are the first six items in order and the trend continues at least through the first page of results.
- paulgb 14y agoGood catch, I'm glad that it's a best practice. I wasn't trying to shame those projects, I'm not a rubiest so I was just trying to figure out how someone might gain access to a secret token.