From 286212340178f289682a37ae94d54b6e7e3bb145 Mon Sep 17 00:00:00 2001
From: Tom Lake <tswsl1989@sucs.org>
Date: Tue, 25 Sep 2012 20:39:39 +0000
Subject: [PATCH] Fix permission check 'error' that allowed public access to
 signup-admin component

---
 components/signup-admin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/signup-admin.php b/components/signup-admin.php
index 1e8f78a..f0dc026 100644
--- a/components/signup-admin.php
+++ b/components/signup-admin.php
@@ -2,7 +2,7 @@
 // Config options
 $permission="sucsstaff";
 // TODO: DEV: UNSTICK THIS BEFORE DEPLOY
-if (isset($session->groups[$permission]) || true) {
+if (isset($session->groups[$permission])) {
 	$smarty->assign("staff",TRUE);
 
 	// connect to sucs database
-- 
GitLab