Display OIDC Consent tab if needed (#826)

This commit is contained in:
Xavier Guimard 2017-09-15 10:34:43 +00:00
parent 5b5e5db123
commit bf1cf4c4f5
4 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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' => {

View File

@ -636,7 +636,7 @@ sub attributes {
},
portalDisplayOidcConsents => {
type => 'boolOrExpr',
default => 1,
default => '$_oidcConnectedRP',
documentation => 'Display OIDC consent tab in portal',
},

File diff suppressed because one or more lines are too long