From ac3b929014a0fa012f0eaaceab6702b78526b202 Mon Sep 17 00:00:00 2001 From: Zeeshan Mehboob <82993262+zesu22@users.noreply.github.com> Date: Fri, 8 Nov 2024 19:51:18 +0530 Subject: [PATCH] [MODIFIED] status api, fullname regex check, default properties (#418) Signed-off-by: Zeeshan Mehboob Signed-off-by: ase-101 --- .../resources/application-default.properties | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/signup-service/src/main/resources/application-default.properties b/signup-service/src/main/resources/application-default.properties index 1e10019f..3d1c75bd 100644 --- a/signup-service/src/main/resources/application-default.properties +++ b/signup-service/src/main/resources/application-default.properties @@ -174,6 +174,13 @@ mosip.signup.minimum-browser-version={ \ 'edge': '118.0.2535.93', \ 'safari': '16.1' } +mosip.signup.fullname.allowed-characters=.* +mosip.signup.fullname.min-length=1 +mosip.signup.fullname.max-length=30 +mosip.signup.identifier.allowed-characters=^[0-9]+ +mosip.signup.identifier.min-length=8 +mosip.signup.identifier.max-length=9 + # Only after current challenge timeout we should enable resend in the UI. # In this case timeout and resend-delay should be same always. mosip.signup.ui.config.key-values={\ @@ -195,12 +202,12 @@ mosip.signup.ui.config.key-values={\ 'slot.request.limit': ${mosip.signup.slot.request.limit}, \ 'popup.timeout': 10, \ 'signin.redirect-url': '${mosip.esignet.domain.url}/authorize', \ -'identifier.allowed.characters': '^[0-9]+', \ -'identifier.length.min': 8, \ -'identifier.length.max': 9, \ -'fullname.allowed.characters': '.*', \ -'fullname.length.min': 1, \ -'fullname.length.max': 30, \ +'identifier.allowed.characters': '${mosip.signup.identifier.allowed-characters}', \ +'identifier.length.min': ${mosip.signup.identifier.min-length}, \ +'identifier.length.max': ${mosip.signup.identifier.max-length}, \ +'fullname.allowed.characters': '${mosip.signup.fullname.allowed-characters}', \ +'fullname.length.min': ${mosip.signup.fullname.min-length}, \ +'fullname.length.max': ${mosip.signup.fullname.max-length}, \ 'otp.blocked' : ${mosip.signup.generate-challenge.blocked.timeout}, \ 'send-challenge.captcha.required': ${mosip.signup.send-challenge.captcha-required}, \ 'signup.oauth-client-id': '${mosip.signup.oauth.client-id}', \