Skip to content

Commit

Permalink
[MODIFIED] status api, fullname regex check, default properties (mosi…
Browse files Browse the repository at this point in the history
…p#418)

Signed-off-by: Zeeshan Mehboob <[email protected]>
Signed-off-by: ase-101 <[email protected]>
  • Loading branch information
zesu22 authored and ase-101 committed Dec 18, 2024
1 parent e704b8f commit ac3b929
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions signup-service/src/main/resources/application-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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={\
Expand All @@ -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}', \
Expand Down

0 comments on commit ac3b929

Please sign in to comment.