diff options
Diffstat (limited to 'main/app/sprinkles/account/schema/requests/set-password.yaml')
-rwxr-xr-x | main/app/sprinkles/account/schema/requests/set-password.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/app/sprinkles/account/schema/requests/set-password.yaml b/main/app/sprinkles/account/schema/requests/set-password.yaml new file mode 100755 index 0000000..ae59d1c --- /dev/null +++ b/main/app/sprinkles/account/schema/requests/set-password.yaml @@ -0,0 +1,29 @@ +--- +password: + validators: + required: + label: "&PASSWORD" + message: VALIDATE.REQUIRED + length: + label: "&PASSWORD" + min: 12 + max: 100 + message: VALIDATE.LENGTH_RANGE +passwordc: + validators: + required: + label: "&PASSWORD.CONFIRM" + message: VALIDATE.REQUIRED + matches: + field: password + label: "&PASSWORD.CONFIRM" + message: VALIDATE.PASSWORD_MISMATCH + length: + label: "&PASSWORD.CONFIRM" + min: 12 + max: 100 + message: VALIDATE.LENGTH_RANGE +token: + validators: + required: + message: PASSWORD.FORGET.INVALID |