forked from science-ation/science-ation
Allow existing parents, principals, mentors, and alumni to create mutlirole accounts.
This commit is contained in:
parent
1aa759047a
commit
47ee73f3e6
@ -118,6 +118,10 @@
|
|||||||
case 'sponsor':
|
case 'sponsor':
|
||||||
$reg_open = 'notpermitted';
|
$reg_open = 'notpermitted';
|
||||||
break;
|
break;
|
||||||
|
case 'parent': case 'alumni': case 'principal': case 'mentor':
|
||||||
|
/* Always open, because they could have been auto-created */
|
||||||
|
$reg_open = 'open';
|
||||||
|
break;
|
||||||
case 'student':
|
case 'student':
|
||||||
default:
|
default:
|
||||||
if($_GET['action']!="logout")
|
if($_GET['action']!="logout")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user