Skip to content
Snippets Groups Projects
Commit 28621234 authored by Thomas Lake's avatar Thomas Lake :wrench:
Browse files

Fix permission check 'error' that allowed public access to signup-admin component

parent a1398d00
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Config options // Config options
$permission="sucsstaff"; $permission="sucsstaff";
// TODO: DEV: UNSTICK THIS BEFORE DEPLOY // TODO: DEV: UNSTICK THIS BEFORE DEPLOY
if (isset($session->groups[$permission]) || true) { if (isset($session->groups[$permission])) {
$smarty->assign("staff",TRUE); $smarty->assign("staff",TRUE);
// connect to sucs database // connect to sucs database
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment