Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumimku committed Sep 13, 2023
1 parent 718551d commit 4d126c7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions distribution/kernel/carbon-home/repository/conf/carbon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,10 @@
Enable following config to allow Emails as usernames.
-->
<EnableEmailUserName>false</EnableEmailUserName>
<!--
Enable following config to flag input validation configuration.
-->
<isInputValidationEnabled>true</isInputValidationEnabled>
<!--EnablePasswordTrim>false</EnablePasswordTrim-->
<!--
Security configurations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,6 @@
"sts.callback_handler" : "org.wso2.carbon.identity.sts.common.identity.provider.AttributeCallbackHandler",
"tenant_mgt.enable_tenant_theme_mgt" : true,
"jce_provider.provider_name" : "BC",
"signature_util.enable_sha256_algo" : true

"signature_util.enable_sha256_algo" : true,
"tenant_mgt.enable_input_validation" : true
}
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,10 @@
Enable following config to allow Emails as usernames.
-->
<EnableEmailUserName>{{tenant_mgt.enable_email_domain | default('false')}}</EnableEmailUserName>
<!--
Enable following config to flag input validation configuration.
-->
<isInputValidationEnabled>{{tenant_mgt.enable_input_validation}}</isInputValidationEnabled>
{% if password_trim.enable is defined %}
<EnablePasswordTrim>{{password_trim.enable}}</EnablePasswordTrim>
{% endif %}
Expand Down

0 comments on commit 4d126c7

Please sign in to comment.