Skip to content

Commit

Permalink
Merge pull request #1816 from luhagel/fix-disabled-buttons-prod
Browse files Browse the repository at this point in the history
Set default waiting state to false to avoid SSR override
  • Loading branch information
SachaG authored Jan 14, 2018
2 parents 5e9f841 + 428422f commit edff18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vulcan-accounts/imports/ui/components/LoginForm.jsx
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class AccountsLoginForm extends Tracker.Component {
// Set inital state.
this.state = {
messages: [],
waiting: true,
waiting: false,
formState: props.formState ? props.formState : (currentUser ? STATES.PROFILE : STATES.SIGN_IN),
onSubmitHook: props.onSubmitHook || Accounts.ui._options.onSubmitHook,
onSignedInHook: resetStoreAndThen(postLogInAndThen(props.onSignedInHook || Accounts.ui._options.onSignedInHook)),
Expand Down

0 comments on commit edff18f

Please sign in to comment.