feat: Implement open email registration with conditional organization assignment
- Remove email domain validation requirement from registration endpoint - Implement conditional organization assignment logic (auto-assign if domain match, else NULL) - Allow users to register with any email address without requiring organization match - Maintain backward compatibility for domain-matched emails (auto-assign to organization) - Remove unused OrganizationNotFoundError import and fix code style Key Changes: - Modified EmailCodeLoginApi to allow registration without organization assignment - Users with matching email domains are auto-assigned to organizations - Users without matching domains can register and use platform with organization_id=NULL - Prepared foundation for future organization invitation system 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>pull/21891/head
parent
bba1d844e4
commit
f1080f060c
Loading…
Reference in New Issue