Patch #37682 ยป secret_token_frozen_string_literal.patch
lib/tasks/initializers.rake | ||
---|---|---|
5 | 5 |
secret = SecureRandom.hex(40) |
6 | 6 |
File.open(path, 'w') do |f| |
7 | 7 |
f.write <<"EOF" |
8 |
# frozen_string_literal: true |
|
9 | ||
8 | 10 |
# This file was generated by 'rake generate_secret_token', and should |
9 | 11 |
# not be made visible to public. |
10 | 12 |
# If you have a load-balancing Redmine cluster, you will need to use the |