From 78f2df0022b9c5b66d093d41e598edc80b74b4cc Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 20 Dec 2019 19:07:59 -0500 Subject: [PATCH] fix sign up not completing because it's waiting for the password --- ui/component/header/view.jsx | 3 ++- ui/util/saved-passwords.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index 364933b42..9d43c976d 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -48,6 +48,7 @@ const Header = (props: Props) => { // on the verify page don't let anyone escape other than by closing the tab to keep session data consistent const isVerifyPage = history.location.pathname.includes(PAGES.AUTH_VERIFY); + const isAuthPage = history.location.pathname.includes(PAGES.AUTH); // Sign out if they click the "x" when they are on the password prompt const authHeaderAction = syncError ? { onClick: signOut } : { navigate: '/' }; @@ -204,7 +205,7 @@ const Header = (props: Props) => { ) )} - {!authenticated && ( + {!authenticated && !isAuthPage && (