Removed school checking, as client is changed to display nothing if undefined

This commit is contained in:
Kenneth Jao 2016-09-01 00:30:05 -04:00
parent 3282d861ff
commit 7abb353961

View File

@ -1,6 +1,6 @@
Router.route('/', { Router.route('/', {
waitOn: function() { waitOn: function() {
if (!Meteor.userId() || !Meteor.user().profile.school) { if (!Meteor.userId()) {
this.redirect('/login'); this.redirect('/login');
} else { } else {
return [ return [