POST/DELETE /v1/account/avatar (session, exact Origin, CSRF) and public GET /v1/avatars/<id>. Uploads are sniffed, size and dimension limited, fully decoded, re-encoded to a 256x256 PNG without metadata and stored in SQLite, one per account. avatar_url in the session points to it, with the provider avatar as fallback. |
||
|---|---|---|
| .. | ||
| auth.rs | ||
| avatar.rs | ||
| email_auth.rs | ||
| foundation.rs | ||
| mail.rs | ||