increase unapproved class number to 8

This commit is contained in:
Yaman Qalieh 2016-10-30 22:34:11 -04:00
parent 6b33252462
commit 124789983a

View File

@ -170,7 +170,7 @@ function securityCheck(checklist, input) {
break;
// Unverified classes
case 2:
if (classes.find({status:false, admin: Meteor.userId()}).fetch().length > 5) error = 1;
if (classes.find({status:false, admin: Meteor.userId()}).fetch().length > 8) error = 1;
break;
// School existence
case 3: