-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I am getting an error that says 'no route on the client or server' when viewing a password reset route:
Oops, looks like there's no route on the client or the server for url: "http://localhost:3000/reset-password/l3GZh7Y25xEHyExEA4HdHW4xSHNoCoErhuHpKZYMTSt."
http://localhost:3000/reset-password/jQrANVL_hEO322VhIQwAhfah4d3d8JU1gPNVv7TJut9
I have the following configuration:
// in /client/routes/_config.js
var anonymousRoutes = [
'login',
'atChangePwd',
'atEnrollAccount',
'atForgotPwd',
'atResetPwd',
'atSignIn',
'atSignUp',
'atVerifyEmail',
'atresendVerificationEmail'
];
// User login required for all areas of site
Router.plugin('ensureSignedIn', {except: anonymousRoutes});
// in /lib/accounts.js
AccountsTemplates.configure({
// Behavior
enablePasswordChange: true,
showForgotPasswordLink: true
});
// Configure AccountsTemplates routes
AccountsTemplates.configureRoute('signIn');
AccountsTemplates.configureRoute('signUp');
AccountsTemplates.configureRoute('forgotPwd');
AccountsTemplates.configureRoute('changePwd');
AccountsTemplates.configureRoute('resetPwd');
AccountsTemplates.configureRoute('verifyEmail');
I am using iron-router, and have installed useraccounts:iron-router package.
Metadata
Metadata
Assignees
Labels
No labels