0.12.5 google auth fix

This commit is contained in:
SDE
2024-01-25 18:36:15 +03:00
parent cb79e47796
commit 481f9a881f
2 changed files with 15 additions and 7 deletions

View File

@@ -117,7 +117,11 @@ def logout_View(request):
def login_View(request):
Dict = {}
from allauth.socialaccount.models import SocialApp
auth_google_allow = SocialApp.objects.filter(provider='google')
Dict = {
'auth_google_allow': auth_google_allow
}
t = loader.get_template('pages/profile/p_login.html')
return get_inter_http_respose(t, Dict, request)