mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 20:01:59 +00:00
Implement create account function
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
const INVALID_FIELD = 'This field is invalid format!';
|
||||
const INVALID_PHONE = 'Phone number is invalid!';
|
||||
const REQUIRED_FIELD_ERROR = 'This field is required!';
|
||||
const INVALID_DISCOUNT = 'Discount should be greater than 0 and less than 100!';
|
||||
const PASSWORD_CONDITION =
|
||||
'Your password must have 1 uppercase, 1 lowercase, 1 special character, min 1 number and the length between from 8 to 16!';
|
||||
const INVALID_PASSWORD = 'Invalid password';
|
||||
const PASSWORD_NOT_MATCH = 'Password not match!';
|
||||
const PASSWORD_NOT_MATCH_REQUIREMENT = 'Password not match the requirement!';
|
||||
const INVALID_EMAIL = 'Invalid email address';
|
||||
const INVALID_STRING = 'This field need more than 5 characters!';
|
||||
|
||||
export {
|
||||
REQUIRED_FIELD_ERROR,
|
||||
INVALID_DISCOUNT,
|
||||
INVALID_FIELD,
|
||||
INVALID_PHONE,
|
||||
PASSWORD_CONDITION,
|
||||
@@ -19,4 +18,5 @@ export {
|
||||
PASSWORD_NOT_MATCH,
|
||||
PASSWORD_NOT_MATCH_REQUIREMENT,
|
||||
INVALID_EMAIL,
|
||||
INVALID_STRING
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user