From b50831c633403ed2113888468d0d8fa22ef1e013 Mon Sep 17 00:00:00 2001 From: Django Template Date: Sat, 13 Sep 2025 22:49:56 +0530 Subject: [PATCH] Fix Google OAuth signin and clean email subjects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add social account auto-signup settings to prevent password reset emails - Change default site name from 'Django Template' to 'App' for cleaner email subjects - Enable automatic account linking for Google OAuth users 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- apps/core/management/commands/configure_site.py | 2 +- django_project/settings/base.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/core/management/commands/configure_site.py b/apps/core/management/commands/configure_site.py index 7a6d350..9f96c51 100644 --- a/apps/core/management/commands/configure_site.py +++ b/apps/core/management/commands/configure_site.py @@ -16,7 +16,7 @@ class Command(BaseCommand): parser.add_argument( '--name', type=str, - default='Django Template', + default='App', help='Display name for the site', ) diff --git a/django_project/settings/base.py b/django_project/settings/base.py index 017663a..cca9caf 100644 --- a/django_project/settings/base.py +++ b/django_project/settings/base.py @@ -182,6 +182,10 @@ SOCIALACCOUNT_PROVIDERS = { } SOCIALACCOUNT_LOGIN_ON_GET = True +SOCIALACCOUNT_AUTO_SIGNUP = True +SOCIALACCOUNT_EMAIL_REQUIRED = True +SOCIALACCOUNT_EMAIL_VERIFICATION = 'none' +SOCIALACCOUNT_QUERY_EMAIL = True # Tailwind CSS Configuration TAILWIND_APP_NAME = 'theme'