v1.0.4: Security hardening - rate limiting, middleware, HSTS, password strength, anti-enumeration

This commit is contained in:
Pepe Ziberi
2026-02-21 18:55:10 +01:00
parent b75bf9bb30
commit 8ef2cbe68e
15 changed files with 289 additions and 14 deletions

View File

@@ -30,8 +30,8 @@ export default function RegisterPage() {
return
}
if (password.length < 6) {
toast({ title: 'Passwort muss mindestens 6 Zeichen haben', variant: 'destructive' })
if (password.length < 8) {
toast({ title: 'Passwort muss mindestens 8 Zeichen haben', variant: 'destructive' })
return
}
@@ -163,7 +163,7 @@ export default function RegisterPage() {
<Input
id="password"
type="password"
placeholder="Mindestens 6 Zeichen"
placeholder="Mindestens 8 Zeichen"
value={password}
onChange={(e) => setPassword(e.target.value)}
required