Enforce password size on the UI.

This commit is contained in:
Paulo Gustavo Veiga 2023-07-29 18:54:54 -07:00
parent debecaeed0
commit 8906a4c3d5
2 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ const ChangePasswordDialog = ({ onClose }: ChangePasswordDialogProps): React.Rea
error={error}
fullWidth={true}
autoComplete="new-password"
maxLength={30}
/>
<Input

View File

@ -156,6 +156,7 @@ const RegistrationForm = () => {
})}
autoComplete="new-password"
error={error}
maxLength={30}
/>
{AppConfig.isRecaptcha2Enabled() && (