Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Adding hint for password length

Manan1745618fb43cac
diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsx
index e8d531c0b48..f17d2af13be 100644
--- a/studio/frontend/src/features/auth/components/auth-form.tsx
+++ b/studio/frontend/src/features/auth/components/auth-form.tsx
@@ -199,6 +199,9 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
)}
</Button>
</div>
+ {!isLoginMode && (
+ <p className="text-xs text-muted-foreground">Must be at least 8 characters</p>
+ )}
</div>
{!isLoginMode && (
@@ -223,7 +226,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
<Button
type="submit"
className="w-full"
- disabled={loading || statusLoading || blockedByState}
+ disabled={loading || statusLoading || blockedByState || (!isLoginMode && password.length < 8)}
>
{loading ? "Please wait..." : submitLabel}
</Button>