From 823e6907033cd7eba81b7d00d05b719f3a9071a1 Mon Sep 17 00:00:00 2001 From: Jaret Burkett Date: Sat, 23 Aug 2025 09:30:44 -0600 Subject: [PATCH] Changed auth to use the wording 'password' instead of 'token' and give information about defaults and how to change the password. --- ui/src/components/AuthWrapper.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/src/components/AuthWrapper.tsx b/ui/src/components/AuthWrapper.tsx index 58f1bad5..bdf287a8 100644 --- a/ui/src/components/AuthWrapper.tsx +++ b/ui/src/components/AuthWrapper.tsx @@ -112,7 +112,7 @@ export default function AuthWrapper({ authRequired, children }: AuthWrapperProps
setToken(e.target.value)} className="w-full px-4 py-3 rounded-lg bg-gray-800 border border-gray-700 focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 text-gray-100 transition duration-200" - placeholder="Enter your token" + placeholder="Enter your password" /> +
+ The password is set with the environment variable AI_TOOLKIT_AUTH, the default is the super secure secret word "password" +
{error && ( @@ -152,7 +155,7 @@ export default function AuthWrapper({ authRequired, children }: AuthWrapperProps > ) : ( - 'Check Token' + 'Check Password' )}