feat: admin panel enrichment
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
from django.conf import settings
|
||||
|
||||
from .social import enabled_social_providers
|
||||
|
||||
|
||||
def social_auth(request):
|
||||
providers = enabled_social_providers()
|
||||
return {
|
||||
"social_providers": providers,
|
||||
"social_auth_enabled": bool(providers),
|
||||
"site_domain": settings.SITE_DOMAIN,
|
||||
}
|
||||
Reference in New Issue
Block a user