mirror of
https://github.com/thecyberlearn/modern-django-starter.git
synced 2026-08-18 08:52:55 +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(
|
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',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -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'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user