From 7e1358ab1ea92a62d0b718ae9430a275e79e4c91 Mon Sep 17 00:00:00 2001 From: claude Date: Mon, 23 Nov 2026 09:00:25 +0100 Subject: [PATCH] Mot de passe local : longueur minimale 8 caracteres (au lieu de 10) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LNfwm5Qp7Vbow7Fw77fLxi --- frontend/src/Login.tsx | 4 ++-- frontend/src/SettingsDialog.tsx | 12 ++++++------ internal/auth/accounts.go | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/Login.tsx b/frontend/src/Login.tsx index b76d94e..3f7c227 100644 --- a/frontend/src/Login.tsx +++ b/frontend/src/Login.tsx @@ -96,8 +96,8 @@ export function Login({ me, onLoggedIn }: Props) { )} {mode === "register" && (
-
@@ -242,7 +242,7 @@ function UsersTab({ me, onError, onChanged }: { me: Me; onError: (m: string | nu setForm({ ...form, email: e.target.value })} />
-
@@ -333,7 +333,7 @@ function UsersTab({ me, onError, onChanged }: { me: Me; onError: (m: string | nu }} > diff --git a/internal/auth/accounts.go b/internal/auth/accounts.go index 6878898..dee2d7d 100644 --- a/internal/auth/accounts.go +++ b/internal/auth/accounts.go @@ -43,7 +43,7 @@ const ( ) const ( - minPasswordLen = 10 + minPasswordLen = 8 maxPasswordLen = 200 maxNameLen = 80 )