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

unexpected reload #18

Closed
radzom opened this issue Apr 3, 2016 · 2 comments
Closed

unexpected reload #18

radzom opened this issue Apr 3, 2016 · 2 comments
Assignees

Comments

@radzom
Copy link

radzom commented Apr 3, 2016

when trying to log in (pressing sign in button or hitting enter) a page reload is made with the same url but a "?" is added. This happens on any page including the LoginForm.

I tried commenting out all customized configuration

import { Accounts } from 'meteor/std:accounts-ui';

export default function () {
  Accounts.ui.config({
    passwordSignupFields: 'USERNAME_AND_EMAIL',
    // loginPath: '/login',
    // signUpPath: '/register',
    // resetPasswordPath: '/reset-password',
    // profilePath: '/profile',
    // onSignedInHook: () => FlowRouter.go('/dashboard'),
    // onSignedOutHook: () => FlowRouter.go('/'),
    // minimumPasswordLength: 6
  });
}

using default Accounts.ui.LoginForm but it does not help.
The problems started in 1.1.4
I have gone back to version 1.1.0
:-(

@timbrandin timbrandin self-assigned this Apr 3, 2016
@timbrandin
Copy link
Member

Alright, seems like I can reproduce it. The form is submitted before we can stop it.

@timbrandin
Copy link
Member

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

2 participants