diff --git a/shared-helpers/src/AuthContext.ts b/shared-helpers/src/AuthContext.ts index 74e6f93f1d..65c813518b 100644 --- a/shared-helpers/src/AuthContext.ts +++ b/shared-helpers/src/AuthContext.ts @@ -317,11 +317,12 @@ export const AuthProvider: FunctionComponent = ({ child }) if (response) { dispatch(saveToken({ accessToken: response.accessToken, apiUrl, dispatch })) - const profile = await userService?.userControllerProfile() - if (profile) { - dispatch(saveProfile(profile)) - return profile - } + // 12/18 - Short-term error fix to allow user accesss + // const profile = await userService?.userControllerProfile() + // if (profile) { + // dispatch(saveProfile(profile)) + // return profile + // } } return undefined } finally { diff --git a/sites/partners/cypress/e2e/listing.spec.ts b/sites/partners/cypress/e2e/listing.spec.ts index 02b3dd8b9f..066b96015a 100644 --- a/sites/partners/cypress/e2e/listing.spec.ts +++ b/sites/partners/cypress/e2e/listing.spec.ts @@ -228,8 +228,8 @@ describe("Listing Management Tests", () => { }, [] as fillFromFieldOption[]) ) - cy.get("#longitude").contains("-122.40078") - cy.get("#latitude").contains("37.79006") + cy.get("#longitude").contains("-122.40") + cy.get("#latitude").contains("37.79") cy.get("#unitTable").contains("Unit Type") cy.getByID("waitlist.openQuestion").contains("No") cy.get("#digitalApplication").contains("Yes") diff --git a/sites/partners/src/pages/reset-password.tsx b/sites/partners/src/pages/reset-password.tsx index 9b53dc4a1a..8f7c179fe2 100644 --- a/sites/partners/src/pages/reset-password.tsx +++ b/sites/partners/src/pages/reset-password.tsx @@ -31,9 +31,9 @@ const ResetPassword = () => { const { password, passwordConfirmation } = data try { - const user = await resetPassword(token.toString(), password, passwordConfirmation) - setSiteAlertMessage(t(`authentication.signIn.success`, { name: user.firstName }), "success") - await router.push("/") + await resetPassword(token.toString(), password, passwordConfirmation) + setSiteAlertMessage(t(`account.settings.passwordSuccess`), "notice") + await router.push("/sign-in") window.scrollTo(0, 0) } catch (err) { const { status, data } = err.response || {} diff --git a/sites/public/src/pages/reset-password.tsx b/sites/public/src/pages/reset-password.tsx index f2892e8de7..41ac340aa9 100644 --- a/sites/public/src/pages/reset-password.tsx +++ b/sites/public/src/pages/reset-password.tsx @@ -40,9 +40,9 @@ const ResetPassword = () => { const { password, passwordConfirmation } = data try { - const user = await resetPassword(token.toString(), password, passwordConfirmation) - setSiteAlertMessage(t(`authentication.signIn.success`, { name: user.firstName }), "success") - await router.push("/account/dashboard") + await resetPassword(token.toString(), password, passwordConfirmation) + setSiteAlertMessage(t(`account.settings.passwordSuccess`), "notice") + await router.push("/sign-in") } catch (err) { const { status, data } = err.response || {} if (status === 400) {