mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
cmdAccountEdit assembled a dynamic UPDATE for the real name, email and country columns in the socket handler, and cmdAccountImage wrote the avatar blob there too. Add AccountUpdateRecord, updateUserAccount and setUserAvatar to Server_DatabaseInterface with fail-closed defaults, implement them with the previous query text and bind values, and keep the password gate, the email permission check, the empty-edit early return and the in-memory userInfo updates in the handler. |
||
|---|---|---|
| .. | ||
| network | ||