Use simple int form for timeoutActivity (#917)

This commit is contained in:
Clément Oudot 2016-02-02 10:22:09 +00:00
parent b2dc625393
commit 499976b95f
3 changed files with 3 additions and 32 deletions

View File

@ -2435,29 +2435,7 @@ qr/^(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.
},
'timeoutActivity' => {
'default' => 0,
'select' => [
{
'k' => 0,
'v' => 'None'
},
{
'k' => 900,
'v' => '15 min'
},
{
'k' => 1800,
'v' => '30 min'
},
{
'k' => 2700,
'v' => '45 min'
},
{
'k' => 3600,
'v' => '60 min'
}
],
'type' => 'select'
'type' => 'int'
},
'trustedDomains' => {
'type' => 'text'

View File

@ -425,14 +425,7 @@ sub attributes {
documentation => 'Session timeout on server side',
},
timeoutActivity => {
select => [
{ k => '0', v => 'None' },
{ k => '900', v => '15 min' },
{ k => '1800', v => '30 min' },
{ k => '2700', v => '45 min' },
{ k => '3600', v => '60 min' },
],
type => 'select',
type => 'int',
default => 0,
documentation => 'Session activity timeout on server side',
},

File diff suppressed because one or more lines are too long