diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index 90b96465b..d3a15f803 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -4,4 +4,5 @@ # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. -Rosa::Application.config.secret_key_base = APP_CONFIG['keys']['secret_token'] +Rosa::Application.config.secret_token = APP_CONFIG['keys']['secret_token'] +Rosa::Application.config.secret_key_base = APP_CONFIG['keys']['secret_key_base']