diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index 631f7dd619..7b4b9bd113 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -19,7 +19,8 @@ else end if OpenProject::Application.config.secret_token.nil? - puts "Warning: secret_token empty!" + puts "Error: secret_token empty!" puts "Please set it with ENV variable 'SECRET_TOKEN' or " puts "run 'rake generate_secret_token'" + exit 1 end