Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset password UI doesn't match other states #27

Open
micahalcorn opened this issue Apr 15, 2016 · 0 comments
Open

Reset password UI doesn't match other states #27

micahalcorn opened this issue Apr 15, 2016 · 0 comments

Comments

@micahalcorn
Copy link

micahalcorn commented Apr 15, 2016

I have the following in my client/lib/routes.js:

AccountsTemplates.configureRoute('forgotPwd', {
  name: 'atForgotPwd',
  path: '/forgot-password',
  template: 'User',
  layoutTemplate: 'EntryLayout'
});

AccountsTemplates.configureRoute('resetPwd', {
  name: 'atResetPwd',
  path: '/reset-password',
  template: 'User',
  layoutTemplate: 'EntryLayout'
});

If I visit /forgot-password and go through the steps, everything works fine. But the div.accounts-dialog "set password" element is unstyled and the 'User' template is not rendered. Whereas if I'm at /forgot-password and run AccountsTemplates.setState('resetPwd'), everything looks great. I also get a 404 if I go directly to /reset-password, but that may be expected. Any idea what I might be doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant