diff --git a/js/components/ascribe_forms/form_login.js b/js/components/ascribe_forms/form_login.js index 2f0265b6..8b7c1e23 100644 --- a/js/components/ascribe_forms/form_login.js +++ b/js/components/ascribe_forms/form_login.js @@ -60,7 +60,7 @@ let LoginForm = React.createClass({ GlobalNotificationActions.appendGlobalNotification(notification); if(success) { - UserActions.fetchCurrentUser(); + UserActions.fetchCurrentUser(true); } }, diff --git a/js/components/ascribe_forms/form_signup.js b/js/components/ascribe_forms/form_signup.js index 87b7f47a..22f3e120 100644 --- a/js/components/ascribe_forms/form_signup.js +++ b/js/components/ascribe_forms/form_signup.js @@ -61,7 +61,7 @@ let SignupForm = React.createClass({ // Refactor this to its own component this.props.handleSuccess(getLangText('We sent an email to your address') + ' ' + response.user.email + ', ' + getLangText('please confirm') + '.'); } else { - UserActions.fetchCurrentUser(); + UserActions.fetchCurrentUser(true); } },