From eb0804826bea61b0f476cb242860053789717db7 Mon Sep 17 00:00:00 2001 From: mbaharip <62494292+mbahArip@users.noreply.github.com> Date: Sun, 5 May 2024 16:46:39 +0700 Subject: [PATCH] Remove error message when password is not set --- src/app/actions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/actions.ts b/src/app/actions.ts index 97a075b..747cf34 100644 --- a/src/app/actions.ts +++ b/src/app/actions.ts @@ -268,7 +268,8 @@ export async function CheckPassword( const currentFolder = paths[folderIndex]; if (!cookiesValue[currentFolder.id]) throw { - message: `Password for '${currentFolder.path}' is not set, please enter the password`, + // message: `Password for '${currentFolder.path}' is not set, please enter the password`, + message: null, path: currentFolder.id, };