Files
ai-recruit-site-template/deploy-to-apps.example.sh
Mikael Westöö 95b09d4e75 Fix script to handle existing unverified user registration
When a user tries to register with an email that already exists but is not verified:
- API now returns existing_user: true and api_key: null
- Script detects existing_user flag
- Loads existing API key from config file instead of expecting it in response
- Shows appropriate message about new verification code being sent
- Continues to verification step

This fixes the error 'Failed to extract user data' when users re-register.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-24 22:27:05 +01:00

25 KiB