Config: Stop if 'hmac_key' is the default value

このコミットが含まれているのは:
Samantaz Fox 2023-07-01 19:38:50 +02:00
コミット ba43365acb
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: F42821059186176E
1個のファイルの変更3行の追加0行の削除

ファイルの表示

@ -209,6 +209,9 @@ class Config
if config.hmac_key.empty?
puts "Config: 'hmac_key' is required/can't be empty"
exit(1)
elsif config.hmac_key == "CHANGE_ME!!"
puts "Config: The value of 'hmac_key' needs to be changed!!"
exit(1)
end
# Build database_url from db.* if it's not set directly