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} error={error}
fullWidth={true} fullWidth={true}
autoComplete="new-password" autoComplete="new-password"
maxLength={30}
/> />
<Input <Input

View File

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