Patch #37682 ยป secret_token_frozen_string_literal.patch
| lib/tasks/initializers.rake | ||
|---|---|---|
|
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
|
||