mirror of
https://github.com/makeplane/plane.git
synced 2026-07-11 04:51:55 +02:00
- Use request.user directly instead of re-querying User by exact project_invite.email — avoids case-variant miss after the case-insensitive email check already validated the authenticated user (CR comment 1) - Validate `accepted` as a real boolean before saving — form-encoded strings like "false" are truthy and could accidentally create memberships (CR comment 2) Co-authored-by: Plane AI <noreply@plane.so>