KamoCRM

Add register-photo endpoint for unauthenticated post-registration avatar upload

FeatureSecurityService
Shipped
18 ஏப்ரல், 2026 அன்று 6:56 PM UTC
Author
Kamo
Commit
285d3cc

POST **************** accepts userId + file/fileSm/fileMd/fileLg without a session. Guards: user must be unverified and have no avatar yet, preventing abuse against existing accounts. Stores files to MinIO with the same path structure and sized variants as the authenticated /avatars/photo endpoint.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing