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('/', {
|
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 [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user