Added more things to except list for need sign in

This commit is contained in:
Stefan Zermatten
2015-05-11 16:51:17 +02:00
parent f6df716870
commit e4600decd0

View File

@@ -4,7 +4,18 @@ Router.configure({
});
Router.plugin("ensureSignedIn", {
except: ["home", "atSignIn", "atSignUp", "atForgotPassword", "notFound"]
except: [
"home",
"atSignIn",
"atSignUp",
"atForgotPassword",
"atResetPwd",
"atEnrollAccount",
"atVerifyEmail",
"atresendVerificationEmail",
"loginButtons",
"notFound",
]
});
Router.plugin("dataNotFound", {notFoundTemplate: "notFound"});