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

@@ -32,8 +32,8 @@ function ResetPasswordForm() {
e.preventDefault()
setError('')
if (password.length < 6) {
setError('Passwort muss mindestens 6 Zeichen lang sein.')
if (password.length < 8) {
setError('Passwort muss mindestens 8 Zeichen lang sein.')
return
}
if (password !== confirmPassword) {
@@ -108,7 +108,7 @@ function ResetPasswordForm() {
<Input
id="password"
type="password"
placeholder="Min. 6 Zeichen"
placeholder="Min. 8 Zeichen"
value={password}
onChange={(e) => setPassword(e.target.value)}
required