Password Change & Reset Validation
Validation messages for password change and forgot-password reset flows.
Overview
| Key | Message | Description |
|---|---|---|
NotBlank.changePasswordRequest.oldPassword | Please enter your current password. | The current password field is empty. |
NotBlank.changePasswordRequest.newPassword | Please enter the new password you wish to use. | The new password field is empty. |
Size.changePasswordRequest.newPassword | The new password must be at least <size> characters long. | The new password does not meet the minimum length requirement. |
NotBlank.forgotPasswordRequest.username | Please enter your username or email. | The username/email is empty when requesting a password reset. |
NotBlank.confirmForgotPasswordRequest.username | Please enter your username or email. | The username/email is empty when confirming a password reset. |
NotBlank.confirmForgotPasswordRequest.confirmationCode | Please enter the confirmation code that was sent to you. | The confirmation code is empty. |
NotBlank.confirmForgotPasswordRequest.newPassword | Please enter the new password you wish to use. | The new password is empty when resetting a password. |
Size.confirmForgotPasswordRequest.newPassword | The new password must be at least <size> characters long. | The new password does not meet the minimum length requirement when resetting a password. |
Validation Message Details
NotBlank.changePasswordRequest.oldPassword
Message
Please enter your current password.
Description
The current password field is empty.
Root Cause
- The
oldPasswordfield was left blank in the change-password request.
Resolution
- Enter your current password.
NotBlank.changePasswordRequest.newPassword
Message
Please enter the new password you wish to use.
Description
The new password field is empty.
Root Cause
- The
newPasswordfield was left blank in the change-password request.
Resolution
- Enter the new password you wish to use.
Size.changePasswordRequest.newPassword
Message
The new password must be at least <size> characters long.
Description
The new password does not meet the minimum length requirement.
Root Cause
- The provided new password is shorter than the required minimum length ({
size} characters).
Resolution
- Enter a password that meets the minimum length requirement.
NotBlank.forgotPasswordRequest.username
Message
Please enter your username or email.
Description
The username/email is empty when requesting a password reset.
Root Cause
- The
usernamefield was left blank in the forgot-password request.
Resolution
- Enter your username or email address.
NotBlank.confirmForgotPasswordRequest.username
Message
Please enter your username or email.
Description
The username/email is empty when confirming a password reset.
Root Cause
- The
usernamefield was left blank in the confirm-forgot-password request.
Resolution
- Enter your username or email address.
NotBlank.confirmForgotPasswordRequest.confirmationCode
Message
Please enter the confirmation code that was sent to you.
Description
The confirmation code is empty.
Root Cause
- The
confirmationCodefield was left blank.
Resolution
- Enter the confirmation code sent to your email or phone.
NotBlank.confirmForgotPasswordRequest.newPassword
Message
Please enter the new password you wish to use.
Description
The new password is empty when resetting a password.
Root Cause
- The
newPasswordfield was left blank in the confirm-forgot-password request.
Resolution
- Enter the new password you wish to use.
Size.confirmForgotPasswordRequest.newPassword
Message
The new password must be at least <size> characters long.
Description
The new password does not meet the minimum length requirement when resetting a password.
Root Cause
- The provided new password is shorter than the required minimum length ({
size} characters).
Resolution
- Enter a password that meets the minimum length requirement.