Nachrichten: Senden-Button entfernt, Login-Sicherheit: IPs bei Lockout, Attempts-Bereinigung
This commit is contained in:
@@ -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 }}>
|
||||
|
||||
@@ -479,11 +479,7 @@ export default function Nachrichten({ toast, mobile }) {
|
||||
background: showPicker ? 'rgba(78,205,196,0.12)' : 'rgba(255,255,255,0.05)',
|
||||
border:`1px solid ${showPicker ? 'rgba(78,205,196,0.3)' : 'rgba(255,255,255,0.1)'}`,
|
||||
borderRadius:8, cursor:'pointer', fontSize:17, lineHeight:1,
|
||||
padding:'5px 8px', flexShrink:0 }}>😊</button>
|
||||
<button onClick={send} disabled={sending || !text.trim()} style={{
|
||||
...S.btn('#4ecdc4'), flex:1, padding:'0 14px',
|
||||
opacity: sending || !text.trim() ? 0.3 : 1, fontSize:17, lineHeight:1,
|
||||
}}>↑</button>
|
||||
padding:'5px 8px', flexShrink:0, alignSelf:'flex-end' }}>😊</button>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user