mirror of
https://github.com/thecyberlearn/modern-django-starter.git
synced 2026-08-18 07:52:54 +00:00
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:
parent
876ce06634
commit
b50831c633
@ -16,7 +16,7 @@ class Command(BaseCommand):
|
||||
parser.add_argument(
|
||||
'--name',
|
||||
type=str,
|
||||
default='Django Template',
|
||||
default='App',
|
||||
help='Display name for the site',
|
||||
)
|
||||
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user