Project

General

Profile

Patch #37682 ยป secret_token_frozen_string_literal.patch

Go MAEDA, 2022-09-17 08:10

View differences:

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
    (1-1/1)