Commit ff05a8f7 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Modify parameters (#1664)

parent a167a4b3
......@@ -1195,14 +1195,14 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
'default' => -1,
'type' => 'trool'
},
'idSpoofing' => {
'default' => 0,
'type' => 'bool'
},
'idSpoofingHiddenAttributes' => {
'default' => '_2fDevices _loginHistory',
'type' => 'text'
},
'idSpoofingMergeSSOgroups' => {
'default' => 0,
'type' => 'bool'
},
'idSpoofingPrefix' => {
'default' => 'real_',
'type' => 'text'
......
......@@ -440,10 +440,10 @@ sub attributes {
documentation => 'Display session empty values',
flags => 'p',
},
idSpoofing => {
idSpoofingMergeSSOgroups => {
default => 0,
type => 'bool',
documentation => 'Enable IdSpoofing plugin',
documentation => 'Merge spoofed and real SSO groups',
flags => 'p',
},
idSpoofingPrefix => {
......
......@@ -652,12 +652,12 @@ sub tree {
title => 'spoofingIds',
help => 'idspoofing.html',
form => 'simpleInputContainer',
nodes => [
'idSpoofing',
nodes => [
'idSpoofingRule',
'idSpoofingPrefix',
'idSpoofingHiddenAttributes',
'idSpoofingSkipEmptyValues',
'idSpoofingMergeSSOgroups',
]
},
]
......
......@@ -287,9 +287,9 @@
"httpOnly":"الحماية بواسطة جافا سكريبت",
"https":"إتش تي تي بي س",
"spoofingIds":"Id Spoofing",
"idSpoofing":"Activation",
"idSpoofingRule":"Use rule",
"idSpoofingHiddenAttributes":"Hidden attributes",
"idSpoofingMergeSSOgroups":"Merge spoofed and real SSO groups",
"idSpoofingPrefix":"Real attributes prefix",
"idSpoofingSkipEmptyValues":"Skip empty values",
"incompleteForm":"الحقول المطلوبة مفقودة",
......
......@@ -287,9 +287,9 @@
"httpOnly":"Javascript protection",
"https":"HTTPS",
"spoofingIds":"Id Spoofing",
"idSpoofing":"Activation",
"idSpoofingRule":"Use rule",
"idSpoofingHiddenAttributes":"Hidden attributes",
"idSpoofingMergeSSOgroups":"Merge spoofed and real SSO groups",
"idSpoofingPrefix":"Real attributes prefix",
"idSpoofingSkipEmptyValues":"Skip empty values",
"incompleteForm":"Required fields are missing",
......
......@@ -287,9 +287,9 @@
"httpOnly":"Javascript protection",
"https":"HTTPS",
"spoofingIds":"Id Spoofing",
"idSpoofing":"Activation",
"idSpoofingRule":"Use rule",
"idSpoofingHiddenAttributes":"Hidden attributes",
"idSpoofingMergeSSOgroups":"Merge spoofed and real SSO groups",
"idSpoofingPrefix":"Real attributes prefix",
"idSpoofingSkipEmptyValues":"Skip empty values",
"incompleteForm":"Required fields are missing",
......
......@@ -287,9 +287,9 @@
"httpOnly":"Protection contre javascript",
"https":"HTTPS",
"spoofingIds":"Usurpation d'identité",
"idSpoofing":"Activation",
"idSpoofingRule":"Règle d'utilisation",
"idSpoofingHiddenAttributes":"Attributs masqués",
"idSpoofingMergeSSOgroups":"Fusionner les groupes SSO réels et usurpés",
"idSpoofingPrefix":"Préfix des vrais attributs",
"idSpoofingSkipEmptyValues":"Ignorer les valeurs nulles",
"incompleteForm":"Des champs requis manquent",
......
......@@ -290,6 +290,7 @@
"idSpoofing":"Activation",
"idSpoofingRule":"Use rule",
"idSpoofingHiddenAttributes":"Hidden attributes",
"idSpoofingMergeSSOgroups":"Merge spoofed and real SSO groups",
"idSpoofingPrefix":"Real attributes prefix",
"idSpoofingSkipEmptyValues":"Skip empty values",
"incompleteForm":"Mancano campi obbligatori",
......
......@@ -290,6 +290,7 @@
"idSpoofing":"Activation",
"idSpoofingRule":"Use rule",
"idSpoofingHiddenAttributes":"Hidden attributes",
"idSpoofingMergeSSOgroups":"Merge spoofed and real SSO groups",
"idSpoofingPrefix":"Real attributes prefix",
"idSpoofingSkipEmptyValues":"Skip empty values",
"incompleteForm":"Các trường bắt buộc bị thiếu",
......
......@@ -290,6 +290,7 @@
"idSpoofing":"Activation",
"idSpoofingRule":"Use rule",
"idSpoofingHiddenAttributes":"Hidden attributes",
"idSpoofingMergeSSOgroups":"Merge spoofed and real SSO groups",
"idSpoofingPrefix":"Real attributes prefix",
"idSpoofingSkipEmptyValues":"Skip empty values",
"incompleteForm":"Required fields are missing",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -291,7 +291,7 @@ sub display {
REGISTER_URL => $self->conf->{registerUrl},
HIDDEN_INPUTS => $self->buildHiddenForm($req),
STAYCONNECTED => $self->conf->{stayConnected},
SPOOFID => $self->conf->{idSpoofing},
SPOOFID => $self->conf->{idSpoofingRule},
(
$req->data->{customScript}
? ( CUSTOM_SCRIPT => $req->data->{customScript} )
......
......@@ -26,7 +26,7 @@ our @pList = (
checkState => '::Plugins::CheckState',
portalForceAuthn => '::Plugins::ForceAuthn',
checkUser => '::Plugins::CheckUser',
idSpoofing => '::Plugins::IdSpoofing',
idSpoofingRule => '::Plugins::IdSpoofing',
);
##@method list enabledPlugins
......
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