Skip to content

fix: prevent auto-downloading Google avatars for existing users - #340

Merged
trtajim merged 2 commits into
mainfrom
fix/disable-autodownload-avatar
Sep 11, 2026
Merged

fix: prevent auto-downloading Google avatars for existing users#340
trtajim merged 2 commits into
mainfrom
fix/disable-autodownload-avatar

Conversation

@trtajim

@trtajim trtajim commented Sep 11, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Changes
    • Existing users signing in with Google will no longer have their profile photos automatically downloaded or updated.
    • New users can still receive a Google profile photo during account setup.
    • This keeps existing account profile information unchanged during subsequent Google sign-ins while preserving avatar setup for newly created accounts.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 9cbee651-ca87-441a-8bd2-caf19a5c6b2e

📥 Commits

Reviewing files that changed from the base of the PR and between f94af0e and a998983.

📒 Files selected for processing (1)
  • app/Http/Controllers/AuthController.php
💤 Files with no reviewable changes (1)
  • app/Http/Controllers/AuthController.php

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The Google callback no longer backfills avatars for existing users without profile photos. New-user onboarding retains its existing avatar download path.

Changes

Google callback login

Layer / File(s) Summary
Preserve existing profile images
app/Http/Controllers/AuthController.php
Existing users keep their current image_path. The callback no longer downloads or stores a Google avatar for them.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to a9989

The change is ready to merge based on the available evidence.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: existing users no longer receive automatically downloaded Google avatars.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/disable-autodownload-avatar

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trtajim
trtajim merged commit 282985b into main Sep 11, 2026
6 checks passed
@trtajim
trtajim deleted the fix/disable-autodownload-avatar branch September 11, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant