+from __future__ import print_function
+
# this somehow is not used anymore - should it not be ?
from django.core.context_processors import csrf
from django.http import HttpResponseRedirect
elif auth_result is not None:
user=auth_result
if user.is_active:
- print "LOGGING IN"
+ print("LOGGING IN")
login(request, user)
if request.user.is_authenticated():
#else:
# pi = "is_pi"
user_email = str(self.request.user)
- pi = authority_check_pis(self.reques, user_email)
+ pi = authority_check_pis(self.request, user_email)
# check if the user has creds or not
if acc_user_cred == {} or acc_user_cred == 'N/A':