Commit 499976b9 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Use simple int form for timeoutActivity (#917)

parent b2dc6253
......@@ -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'
......
......@@ -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',
},
......
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