Einstellungen: Passwort ändern
POST /api/user/password prüft das bisherige Passwort, setzt das neue (Regeln wie bei der Registrierung) und beendet alle anderen Sessions; die eigene bleibt. Pro IP gedrosselt wie der Login. Im Profil heißt der Knopf unter der Beschreibung jetzt "Text speichern". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TiXsPUqw7oeomZ8wZrQW5q
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
726f5491ff
commit
2275ff1a71
@@ -123,7 +123,7 @@ function ProfileEdit({ info }: { info: Profile }) {
|
||||
<form id="bio-form" onSubmit={saveBio.onSubmit}>
|
||||
<textarea name="bio" rows={4} maxLength={maxBio} value={bio} onChange={(e) => setBio(e.target.value)} />
|
||||
<div className="row">
|
||||
<button type="submit" disabled={saveBio.busy}>Speichern</button>
|
||||
<button type="submit" disabled={saveBio.busy}>Text speichern</button>
|
||||
{saveBio.ok && bio === info.bio && <span className="muted">Gespeichert.</span>}
|
||||
<span className="muted counter">{[...bio].length}/{maxBio}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user