Fixed email validation and token hashing: - Changed test user emails from @test.local to @example.com (valid domain) - Replaced passlib bcrypt for JWT token hashing with SHA-256 (no length limit) - Improved error handling in SimpleLogin component for validation errors - Deleted old test users and recreated with valid emails Credentials: - Admin: admin@example.com / admin - User: user@example.com / user Note: bcrypt still used for password hashing (in auth_service.py), but SHA-256 for JWT token hashing to avoid 72-byte limit. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| create_test_users.py | ||