From bbaa4fb3d82f6886c5dd5849f86feef37f403fae Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Mon, 7 Jun 2010 22:31:36 +0000
Subject: [PATCH] Don't require the user to login again if they're already
 signed into cas.

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x@96 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 sites/all/modules/unl/unl_cas.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sites/all/modules/unl/unl_cas.module b/sites/all/modules/unl/unl_cas.module
index fd8728558..4d2a50f78 100644
--- a/sites/all/modules/unl/unl_cas.module
+++ b/sites/all/modules/unl/unl_cas.module
@@ -86,7 +86,7 @@ function unl_cas_form_alter(&$form, $form_state, $form_id)
     if ($form_id == 'user_login') {
         $_SESSION['unl_cas']['previous_path'] = request_path();
     	$cas = unl_cas_get_adapter();
-    	$cas->setRenew();
+    	//$cas->setRenew();
     	drupal_goto($cas->getLoginUrl());
     }
 }
-- 
GitLab