Commit d65ebc70 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

refer to the student one-to-one, not the user... it's right in the lines...

refer to the student one-to-one, not the user... it's right in the lines immediately above it, wth, me
parent a8f0c266
......@@ -44,7 +44,7 @@ def custom_cas_login(request, *args, **kwargs):
return HttpResponseRedirect(reverse('welcomePrivacy'))
elif not request.user.student.completedMajor:
return HttpResponseRedirect(reverse('welcomeMajor'))
elif not request.user.completedSocial:
elif not request.user.student.completedSocial:
return HttpResponseRedirect(reverse('welcomeSocial'))
else:
welcome_back = random.choice(return_messages)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment