Fix Google OAuth signin and clean email subjects

- 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 <noreply@anthropic.com>
This commit is contained in:
Django Template 2025-09-13 22:49:56 +05:30
parent 876ce06634
commit b50831c633
2 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class Command(BaseCommand):
parser.add_argument( parser.add_argument(
'--name', '--name',
type=str, type=str,
default='Django Template', default='App',
help='Display name for the site', help='Display name for the site',
) )

View File

@ -182,6 +182,10 @@ SOCIALACCOUNT_PROVIDERS = {
} }
SOCIALACCOUNT_LOGIN_ON_GET = True 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 CSS Configuration
TAILWIND_APP_NAME = 'theme' TAILWIND_APP_NAME = 'theme'