Modify parameter type (#1632)

This commit is contained in:
Christophe Maudoux 2019-02-14 22:41:18 +01:00
parent 0690a0c7ab
commit fdaa0fb424
3 changed files with 3 additions and 3 deletions

View File

@ -1069,7 +1069,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
},
'ext2fCodeActivation' => {
'default' => '\\d{6}',
'type' => 'boolOrExpr'
'type' => 'pcre'
},
'ext2fLogo' => {
'type' => 'text'

View File

@ -1339,7 +1339,7 @@ sub attributes {
documentation => 'External second factor activation',
},
ext2fCodeActivation => {
type => 'boolOrExpr',
type => 'pcre',
default => '\d{6}',
documentation => 'OTP generated by Portal',
},

File diff suppressed because one or more lines are too long