Skip to content

Getting Started With Spring Lemon

Sanjay Patel edited this page Jan 8, 2022 · 84 revisions

com.naturalprogrammer.spring.blank.email: Email needed com.naturalprogrammer.spring.invalid.email: Not a well formed email address com.naturalprogrammer.spring.invalid.email.size: Email must be between {min} and {max} characters com.naturalprogrammer.spring.duplicate.email: Email Id already used com.naturalprogrammer.spring.wrong.captcha: Looks like you are a robot! Please try again.

com.naturalprogrammer.spring.invalid.password.size: Password must be between {min} and {max} characters

com.naturalprogrammer.spring.different.passwords: Passwords do not match com.naturalprogrammer.spring.blank.password: Password needed Similarly, for other custom messages, create messages.properties inside src\main\resources, and paste the following into that:

com.naturalprogrammer.spring.validationError: Validation Error

com.naturalprogrammer.spring.verifySubject: Please verify your email id com.naturalprogrammer.spring.verifyEmail: Hi,

Your email id at XYZ is unverified. Please click the link below to get verified:

{0}

com.naturalprogrammer.spring.alreadyVerified: Already verified com.naturalprogrammer.spring.wrong.verificationCode: Wrong verification code

com.naturalprogrammer.spring.wrong.login: Wrong login com.naturalprogrammer.spring.notFound: Not found com.naturalprogrammer.spring.userNotFound: User {0} not found

com.naturalprogrammer.spring.forgotPasswordSubject: Reset Password com.naturalprogrammer.spring.forgotPasswordEmail: Please click here to reset your password.

com.naturalprogrammer.spring.versionException: {0} {1} is already modified by somebody else. Please refresh and try again.

com.naturalprogrammer.spring.wrong.password: Wrong password

com.naturalprogrammer.spring.changeEmailSubject: Want to change your email? com.naturalprogrammer.spring.changeEmailEmail: Please click here to change your email.

com.naturalprogrammer.spring.wrong.changeEmailCode: Could not change email. Already changed? com.naturalprogrammer.spring.blank.newEmail: No new email found. Looks like you have already changed.

com.naturalprogrammer.spring.oauth2EmailNeeded: {0} didn't provide any email id. OAuth2 scopes configured properly? com.naturalprogrammer.spring.oauth2EmailNotVerified: Can't proceed because your email isn't yet verified at {0}

com.naturalprogrammer.spring.wrong.audience: Wrong token audience com.naturalprogrammer.spring.obsoleteToken: Token has become obsolete com.naturalprogrammer.spring.expiredToken: Expired token

com.naturalprogrammer.spring.notGoodAdminOrSameUser: Only a good Admin or same user is permitted for this operation

com.naturalprogrammer.spring.blank: Please provide {0}

com.naturalprogrammer.spring.userClaimAbsent: User claim absent in the authorization token com.naturalprogrammer.spring.fullTokenNotAllowed: Full authorization tokens aren't allowed here

Clone this wiki locally