diff core/configmanager.lua @ 13630:8228f5094f7a

util.startup: Rename credentials path variable too
author Kim Alvefur <zash@zash.se>
date Sat, 18 Jan 2025 13:29:59 +0100
parents 4fdd406564ea
children 0fe27632a837
line wrap: on
line diff
--- a/core/configmanager.lua	Sat Jan 18 12:33:18 2025 +0100
+++ b/core/configmanager.lua	Sat Jan 18 13:29:59 2025 +0100
@@ -361,8 +361,8 @@
 		env.FileLine = filereader(config_path, "*l");
 		env.FileLines = linereader(config_path);
 
-		if _G.prosody.paths.secrets then
-			env.Credential = filereader(_G.prosody.paths.secrets, "*a");
+		if _G.prosody.paths.credentials then
+			env.Credential = filereader(_G.prosody.paths.credentials, "*a");
 		elseif _G.prosody.process_type == "prosody" then
 			env.Credential = function() error("Credential() requires the $CREDENTIALS_DIRECTORY environment variable to be set", 2) end
 		else