From c435c6431ddcc84b6694386fec933519e0cd1be6 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 19 Mar 2014 16:03:14 +0600 Subject: [PATCH] [#345] mistype secret token --- config/initializers/secret_token.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']