fix: auto-create profile for users missing profiles row
Users who signed in via Google OAuth or edge cases had auth.users rows
but no profiles row, causing "Profile not found" 400 errors on daily
reward claims and profile fetches. Now profile.php, auth.php (login),
and daily-reward.php all auto-create the profile if missing.
Also backfilled 4 missing profiles directly in the database.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment