You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ban .edu email domains in pricing form validation (#1445)
* Ban .edu email domains in pricing form validation
- Add generalized .edu domain validation using endswith('.edu') check
- Prevents educational institution emails from being submitted in demo request form
- Maintains existing banned domain validation for consumer email providers
- Uses pattern matching instead of hardcoding specific university domains
Co-Authored-By: Alek <alek@pynecone.io>
* Fix formatting issues with ruff
- Run ruff format to fix code formatting
- Fix import sorting in header.py
- Address pre-commit hook formatting requirements
Co-Authored-By: Alek <alek@pynecone.io>
* Fix formatting for all files affected by ruff format
- Apply ruff formatting to all modified files
- Address remaining pre-commit formatting requirements
- Ensure consistent code style across codebase
Co-Authored-By: Alek <alek@pynecone.io>
* Update .edu domain validation to catch domains with .edu in middle
- Change from domain.endswith('.edu') to '.edu' in domain
- Now catches domains like 'uncp.edu.pe' where .edu appears in middle
- Tested locally: rejects test@uncp.edu.pe, allows john@company.com
- Addresses user feedback for more comprehensive .edu blocking
Co-Authored-By: Alek <alek@pynecone.io>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Alek <alek@pynecone.io>
0 commit comments