Nachrichten: Senden-Button entfernt, Login-Sicherheit: IPs bei Lockout, Attempts-Bereinigung

This commit is contained in:
2026-05-28 14:12:49 +02:00
parent 70d9eeab78
commit 34fa756291
4 changed files with 31 additions and 10 deletions

View File

@@ -1068,6 +1068,15 @@ function SecuritySettingsAdmin({ toast }) {
Letzter Versuch: {fmtDate(u.last_failed_at)}
</div>
)}
{u.ips?.length > 0 && (
<div style={{ marginTop:4, display:'flex', flexWrap:'wrap', gap:4 }}>
{u.ips.map((ip,i) => (
<span key={i} style={{ background:'rgba(255,107,157,0.1)', border:'1px solid rgba(255,107,157,0.2)',
borderRadius:5, padding:'1px 7px', color:'rgba(255,107,157,0.7)',
fontFamily:'monospace', fontSize:9 }}>{ip}</span>
))}
</div>
)}
</div>
<button onClick={()=>unlock(u.id)}
style={{ ...S.btn('#4ecdc4', true), flexShrink:0, fontSize:11 }}>