Commit bf1cf4c4 authored by Xavier Guimard's avatar Xavier Guimard

Display OIDC Consent tab if needed (#826)

parent 5b5e5db1
......@@ -163,7 +163,7 @@ sub defaultValues {
'portalDisplayChangePassword' => '$_auth =~ /^(LDAP|DBI|Demo)$/',
'portalDisplayLoginHistory' => 1,
'portalDisplayLogout' => 1,
'portalDisplayOidcConsents' => 1,
'portalDisplayOidcConsents' => '$_oidcConnectedRP',
'portalDisplayRegister' => 1,
'portalErrorOnExpiredSession' => 1,
'portalForceAuthnInterval' => 5,
......
......@@ -2111,7 +2111,7 @@ qr/^(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-zA-Z0-
'type' => 'boolOrExpr'
},
'portalDisplayOidcConsents' => {
'default' => 1,
'default' => '$_oidcConnectedRP',
'type' => 'boolOrExpr'
},
'portalDisplayRegister' => {
......
......@@ -636,7 +636,7 @@ sub attributes {
},
portalDisplayOidcConsents => {
type => 'boolOrExpr',
default => 1,
default => '$_oidcConnectedRP',
documentation => 'Display OIDC consent tab in portal',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment