From 8906a4c3d54fe3bdedd9f484297d3110c9b8d54b Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 29 Jul 2023 18:54:54 -0700 Subject: [PATCH] Enforce password size on the UI. --- .../maps-page/account-menu/change-password-dialog/index.tsx | 1 + packages/webapp/src/components/registration-page/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/webapp/src/components/maps-page/account-menu/change-password-dialog/index.tsx b/packages/webapp/src/components/maps-page/account-menu/change-password-dialog/index.tsx index eab3e067..246ed856 100644 --- a/packages/webapp/src/components/maps-page/account-menu/change-password-dialog/index.tsx +++ b/packages/webapp/src/components/maps-page/account-menu/change-password-dialog/index.tsx @@ -94,6 +94,7 @@ const ChangePasswordDialog = ({ onClose }: ChangePasswordDialogProps): React.Rea error={error} fullWidth={true} autoComplete="new-password" + maxLength={30} /> { })} autoComplete="new-password" error={error} + maxLength={30} /> {AppConfig.isRecaptcha2Enabled() && (