X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..fb227ee2f88687df8cee7b5b664fd1083ff42ef4:/forum_modules/facebookauth/views.py diff --git a/forum_modules/facebookauth/views.py b/forum_modules/facebookauth/views.py old mode 100755 new mode 100644 index f1e8f3b..f77c628 --- a/forum_modules/facebookauth/views.py +++ b/forum_modules/facebookauth/views.py @@ -1,11 +1,11 @@ -from forum.models import AuthKeyUserAssociation -from django.http import HttpResponse - -def user_is_registered(request): - try: - fb_uid = request.POST['fb_uid'] - print fb_uid - AuthKeyUserAssociation.objects.get(key=fb_uid) - return HttpResponse('yes') - except: +from forum.models import AuthKeyUserAssociation +from django.http import HttpResponse + +def user_is_registered(request): + try: + fb_uid = request.POST['fb_uid'] + #print fb_uid + AuthKeyUserAssociation.objects.get(key=fb_uid) + return HttpResponse('yes') + except: return HttpResponse('no') \ No newline at end of file