From b010762a0bdb5e1506f68ffafe50b2ecad91e4a5 Mon Sep 17 00:00:00 2001 From: Anais Saraiva Date: Thu, 24 Sep 2026 15:55:23 +0200 Subject: [PATCH] fixes admin autofill in fields --- frontend/src/components/AdminCenter.tsx | 30 ++++++++++++++---------- frontend/src/components/Login.tsx | 2 +- frontend/src/components/RegisterPage.tsx | 8 ++++--- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/AdminCenter.tsx b/frontend/src/components/AdminCenter.tsx index 4c89b7b..9d406c0 100644 --- a/frontend/src/components/AdminCenter.tsx +++ b/frontend/src/components/AdminCenter.tsx @@ -207,33 +207,39 @@ export function AdminCenter({ initialTab }: { initialTab?: string | null }) {
- {TABS.map((t) => ( + {TABS.map((tb) => (
) : ( -
+
setUsername(e.target.value)} placeholder="alice" maxLength={32} - autoComplete="username" + autoComplete="off" required /> setDisplayName(e.target.value)} placeholder="Alice" maxLength={60} - autoComplete="nickname" + autoComplete="off" />