1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Add the # frozen_string_literal: true magic comment to config/initializers/secret_token.rb (#37682).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21830 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-09-21 06:58:10 +00:00
parent f5b4ac7064
commit 40774c2cf4

View File

@ -5,6 +5,8 @@ file 'config/initializers/secret_token.rb' do
secret = SecureRandom.hex(40)
File.open(path, 'w') do |f|
f.write <<"EOF"
# frozen_string_literal: true
# This file was generated by 'rake generate_secret_token', and should
# not be made visible to public.
# If you have a load-balancing Redmine cluster, you will need to use the