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

Modify parameter type (#1632)

parent 0690a0c7
...@@ -1069,7 +1069,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][ ...@@ -1069,7 +1069,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
}, },
'ext2fCodeActivation' => { 'ext2fCodeActivation' => {
'default' => '\\d{6}', 'default' => '\\d{6}',
'type' => 'boolOrExpr' 'type' => 'pcre'
}, },
'ext2fLogo' => { 'ext2fLogo' => {
'type' => 'text' 'type' => 'text'
......
...@@ -1339,7 +1339,7 @@ sub attributes { ...@@ -1339,7 +1339,7 @@ sub attributes {
documentation => 'External second factor activation', documentation => 'External second factor activation',
}, },
ext2fCodeActivation => { ext2fCodeActivation => {
type => 'boolOrExpr', type => 'pcre',
default => '\d{6}', default => '\d{6}',
documentation => 'OTP generated by Portal', documentation => 'OTP generated by 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