Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

fix(oauth): use_social_auth for Google oauth in template context processor, remove use_github_auth and use_facebook_auth

pankaj-basnetdfcd9dc6ba76
diff --git a/wger/utils/context_processor.py b/wger/utils/context_processor.py
index fd294e47f..9a1a011cd 100644
--- a/wger/utils/context_processor.py
+++ b/wger/utils/context_processor.py
@@ -36,8 +36,6 @@ def processor(request):
'mastodon': settings.WGER_SETTINGS.get('MASTODON', ''),
'allow_registration': settings.WGER_SETTINGS.get('ALLOW_REGISTRATION', False),
'use_social_auth': settings.WGER_SETTINGS.get('USE_SOCIAL_AUTH', False),
- 'use_github_auth': settings.WGER_SETTINGS.get('USE_GITHUB_AUTH', False),
- 'use_facebook_auth': settings.WGER_SETTINGS.get('USE_FACEBOOK_AUTH', False),
# Languages
'i18n_language': get_language_data(