mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
12 lines
275 B
Python
12 lines
275 B
Python
from django.conf import settings
|
|
|
|
from .views import NightModeRedirectView
|
|
|
|
|
|
def auth_settings(request):
|
|
return {
|
|
'SITE_NAME': settings.SITE_NAME,
|
|
'SITE_URL': settings.SITE_URL,
|
|
'NIGHT_MODE': NightModeRedirectView.night_mode_state(request),
|
|
}
|