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}', \