From efee03fdecbfcdfafddb03f256aff7fda396b032 Mon Sep 17 00:00:00 2001 From: Michel Racic Date: Tue, 10 Jan 2023 18:34:58 +0100 Subject: [PATCH] fix(site): changing password no longer silently trims space chars in a password (#5640) --- .../components/SettingsSecurityForm/SettingsSecurityForm.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/site/src/components/SettingsSecurityForm/SettingsSecurityForm.tsx b/site/src/components/SettingsSecurityForm/SettingsSecurityForm.tsx index 1b73f0ffe8..5712186702 100644 --- a/site/src/components/SettingsSecurityForm/SettingsSecurityForm.tsx +++ b/site/src/components/SettingsSecurityForm/SettingsSecurityForm.tsx @@ -2,7 +2,7 @@ import TextField from "@material-ui/core/TextField" import { FormikContextType, FormikTouched, useFormik } from "formik" import React from "react" import * as Yup from "yup" -import { getFormHelpers, onChangeTrimmed } from "../../util/formUtils" +import { getFormHelpers } from "../../util/formUtils" import { LoadingButton } from "../LoadingButton/LoadingButton" import { Stack } from "../Stack/Stack" import { AlertBanner } from "components/AlertBanner/AlertBanner" @@ -77,7 +77,6 @@ export const SecurityForm: React.FC = ({ )} = ({ /> = ({ />