1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00
الملفات
postal/config/initializers/secret_key.rb
2025-10-01 16:42:39 +01:00

9 أسطر
325 B
Ruby

# frozen_string_literal: true
if Postal::Config.rails.secret_key
Rails.application.credentials.secret_key_base = Postal::Config.rails.secret_key
else
warn "No secret key was specified in the Postal config file. Using one for just this session"
Rails.application.credentials.secret_key_base = SecureRandom.hex(128)
end