projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14873: Fixes parameter handling (WIP)
[arvados.git]
/
services
/
api
/
config
/
initializers
/
load_config.rb
diff --git
a/services/api/config/initializers/load_config.rb
b/services/api/config/initializers/load_config.rb
index fd3c9773933703a58f06da0aaff3ad837cad41af..16059cad76f9afb2350dfa961dd9fd1877fd480a 100644
(file)
--- a/
services/api/config/initializers/load_config.rb
+++ b/
services/api/config/initializers/load_config.rb
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
begin
# If secret_token.rb exists here, we need to load it first.
require_relative 'secret_token.rb'
begin
# If secret_token.rb exists here, we need to load it first.
require_relative 'secret_token.rb'
@@
-69,4
+73,5
@@
config/application.yml:
EOS
end
EOS
end
+ config.secret_key_base = config.secret_token
end
end