Show Sign Up and forgotPassword pages without login
This commit is contained in:
parent
b8c08d5f3a
commit
064743a8f7
@ -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']});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user