mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
initial commit from appmail
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
if Postal.config.rails&.secret_key
|
||||
Rails.application.secrets.secret_key_base = Postal.config.rails.secret_key
|
||||
else
|
||||
$stderr.puts "No secret key was specified in the Postal config file. Using one for just this session"
|
||||
Rails.application.secrets.secret_key_base = SecureRandom.hex(128)
|
||||
end
|
||||
Reference in New Issue
Block a user