aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2025-01-18 13:29:59 +0100
committerKim Alvefur <zash@zash.se>2025-01-18 13:29:59 +0100
commit97884eb95690d276c763b97f3ad5202d5264db36 (patch)
tree0db59ba0f68bd4fee34603ebbc06487fa597b378 /core/configmanager.lua
parent9db7569abca727451aab83480a54644810318948 (diff)
downloadprosody-97884eb95690d276c763b97f3ad5202d5264db36.tar.gz
prosody-97884eb95690d276c763b97f3ad5202d5264db36.zip
util.startup: Rename credentials path variable too
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 1da50ae5..60d9c85d 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -361,8 +361,8 @@ do
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