Skip to main content

Password Change & Reset Validation

Validation messages for password change and forgot-password reset flows.


Overview

KeyMessageDescription
NotBlank.changePasswordRequest.oldPasswordPlease enter your current password.The current password field is empty.
NotBlank.changePasswordRequest.newPasswordPlease enter the new password you wish to use.The new password field is empty.
Size.changePasswordRequest.newPasswordThe new password must be at least <size> characters long.The new password does not meet the minimum length requirement.
NotBlank.forgotPasswordRequest.usernamePlease enter your username or email.The username/email is empty when requesting a password reset.
NotBlank.confirmForgotPasswordRequest.usernamePlease enter your username or email.The username/email is empty when confirming a password reset.
NotBlank.confirmForgotPasswordRequest.confirmationCodePlease enter the confirmation code that was sent to you.The confirmation code is empty.
NotBlank.confirmForgotPasswordRequest.newPasswordPlease enter the new password you wish to use.The new password is empty when resetting a password.
Size.confirmForgotPasswordRequest.newPasswordThe 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 oldPassword field was left blank in the change-password request.

Resolution

  1. 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 newPassword field was left blank in the change-password request.

Resolution

  1. 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

  1. 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 username field was left blank in the forgot-password request.

Resolution

  1. 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 username field was left blank in the confirm-forgot-password request.

Resolution

  1. 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 confirmationCode field was left blank.

Resolution

  1. 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 newPassword field was left blank in the confirm-forgot-password request.

Resolution

  1. 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

  1. Enter a password that meets the minimum length requirement.