From 3d1a6570159f4db3041c09f7556f8e9dacf2e400 Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Mon, 22 Nov 2010 06:56:38 -0800 Subject: [PATCH] tweak to auth --- auth/auth_systems/cas.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/auth/auth_systems/cas.py b/auth/auth_systems/cas.py index 4d34ada..d5b824e 100644 --- a/auth/auth_systems/cas.py +++ b/auth/auth_systems/cas.py @@ -156,10 +156,13 @@ def get_user_info_special(ticket): category = get_user_category(netid) - try: - user_info = get_user_info(netid) - except: - user_info = None + #try: + # user_info = get_user_info(netid) + #except: + # user_info = None + + # for now, no need to wait for this request to finish + user_info = None if user_info: info = {'name': user_info['name'], 'category': category} -- GitLab