From 1d3f731483c3855c8dc927dc6f088e539d4be050 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 3 Apr 2025 23:24:43 -0400 Subject: [PATCH] fix UserPermission missing function. --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index 721c004..f5fddf0 100644 --- a/config.php +++ b/config.php @@ -132,7 +132,7 @@ if (!isset($_SESSION["authenticated"]) && isset($_COOKIE['remember_me_token'])) $_SESSION["authenticated"] = true; $_SESSION["username"] = $tokenData["username"]; // IMPORTANT: Set the folderOnly flag here for auto-login. - $_SESSION["folderOnly"] = loadFolderPermission($tokenData["username"]); + $_SESSION["folderOnly"] = loadUserPermissions($tokenData["username"]); } else { unset($persistentTokens[$_COOKIE['remember_me_token']]); $newEncryptedContent = encryptData(json_encode($persistentTokens, JSON_PRETTY_PRINT), $encryptionKey);