Skip to content

Commit

Permalink
Shorten secret_token
Browse files Browse the repository at this point in the history
Since we don't care what it is, we can generate a dumb one in just a few
characters.
  • Loading branch information
kristjan committed Apr 6, 2012
1 parent c04710d commit 47b5ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Expand Up @@ -7,7 +7,7 @@ require 'uri'
class TheSmallestRailsApp < Rails::Application
routes.append { root to: 'hello#world' }

config.secret_token = 'not so secret but long enough to please rails'
config.secret_token = 'a'*30
config.logger = Logger.new STDOUT
end

Expand Down

0 comments on commit 47b5ef9

Please sign in to comment.