Show Sign Up and forgotPassword pages without login
This commit is contained in:
1 parent
b8c08d5f3a
commit
064743a8f7
1 file changed
+1
-2
@@ -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']});
|
||||||
Reference in new issue
Block a user