Show Sign Up and forgotPassword pages without login

This commit is contained in:
Aysel Afsar 2016-03-28 12:27:18 -04:00
parent b8c08d5f3a
commit 064743a8f7

View File

@ -85,8 +85,7 @@ Router.route('/viewer/timepoints/:_id', {
Router.onBeforeAction(function () { Router.onBeforeAction(function () {
if (!Meteor.userId() && !Meteor.loggingIn()) { if (!Meteor.userId() && !Meteor.loggingIn()) {
this.render('entrySignIn'); this.render('entrySignIn');
this.stop();
} else { } else {
this.next(); this.next();
} }
},{except: ['entrySignIn'] }); },{except: ['entrySignIn', 'entrySignUp', 'forgotPassword']});