Change Active Record Encryption variable check to check for emptiness (#32537)
This commit is contained in:
parent
e507b4f884
commit
1f0c84749d
2 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
|||
ENV[key] = SecureRandom.hex(64)
|
||||
end
|
||||
|
||||
value = ENV.fetch(key) do
|
||||
value = ENV.fetch(key, '')
|
||||
|
||||
if value.blank?
|
||||
abort <<~MESSAGE
|
||||
|
||||
Mastodon now requires that these variables are set:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue