Removed school checking, as client is changed to display nothing if undefined
This commit is contained in:
parent
3282d861ff
commit
7abb353961
@ -1,6 +1,6 @@
|
||||
Router.route('/', {
|
||||
waitOn: function() {
|
||||
if (!Meteor.userId() || !Meteor.user().profile.school) {
|
||||
if (!Meteor.userId()) {
|
||||
this.redirect('/login');
|
||||
} else {
|
||||
return [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user