3 ms·
Rails already raises an exception for you if the secret is blank. In: `actionpack-3.2.13/lib/action_controller/metal/http_authentication.rb`: raise "You m
by wolframarnold 13y ago
Rails already raises an exception for you if the secret is blank.
In: `actionpack-3.2.13/lib/action_controller/metal/http_authentication.rb`:
raise "You must set config.secret_token in your app's config" if secret.blank?