From 428422fd10c44601817288e94e2ce911f33fb9ae Mon Sep 17 00:00:00 2001 From: Luca Hagel Date: Fri, 12 Jan 2018 13:12:49 +0100 Subject: [PATCH] Set default waiting state to false to avoid ssr override --- packages/vulcan-accounts/imports/ui/components/LoginForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 packages/vulcan-accounts/imports/ui/components/LoginForm.jsx diff --git a/packages/vulcan-accounts/imports/ui/components/LoginForm.jsx b/packages/vulcan-accounts/imports/ui/components/LoginForm.jsx old mode 100755 new mode 100644 index c16624eb03..b93fa5d19f --- a/packages/vulcan-accounts/imports/ui/components/LoginForm.jsx +++ b/packages/vulcan-accounts/imports/ui/components/LoginForm.jsx @@ -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)),