forked from science-ation/science-ation
- Quick hack, disable all the user_login.php login types, except volunteer,
until we move over the otehr types
This commit is contained in:
parent
9a98fb8da8
commit
6b8f25c7b8
@ -81,13 +81,16 @@
|
|||||||
$reg_open = user_volunteer_registration_status();
|
$reg_open = user_volunteer_registration_status();
|
||||||
break;
|
break;
|
||||||
case 'committee':
|
case 'committee':
|
||||||
|
exit;
|
||||||
$reg_open = 'notpermitted';
|
$reg_open = 'notpermitted';
|
||||||
break;
|
break;
|
||||||
case 'judge':
|
case 'judge':
|
||||||
|
exit;
|
||||||
$reg_open = user_judge_registration_status();
|
$reg_open = user_judge_registration_status();
|
||||||
break;
|
break;
|
||||||
case 'student':
|
case 'student':
|
||||||
default:
|
default:
|
||||||
|
exit;
|
||||||
$reg_open = 'closed';
|
$reg_open = 'closed';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user