diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-09-28 19:42:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 19:42:50 +0200 |
commit | 0af970a6d98485812fab887d91d4317fa5c0e417 (patch) | |
tree | f7583433fa6276e914cf8ae26b4d84d0f6cc8991 /interface-definitions | |
parent | d5e84fab2e66fb4452516e3a5adc00c6ed772de1 (diff) | |
parent | ee2dc735e02930ac46c6ccc96dc5486ab96179e5 (diff) | |
download | vyos-1x-0af970a6d98485812fab887d91d4317fa5c0e417.tar.gz vyos-1x-0af970a6d98485812fab887d91d4317fa5c0e417.zip |
Merge pull request #1561 from sever-sever/T4715
login: T4715: Auto logout user after inactivity
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system-login.xml.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 24eeee355..d189be3f8 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -151,6 +151,19 @@ #include <include/interface/vrf.xml.i> </children> </node> + <leafNode name="timeout"> + <properties> + <help>Session timeout</help> + <valueHelp> + <format>u32:5-604800</format> + <description>Session timeout in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 5-604800"/> + </constraint> + <constraintErrorMessage>Timeout must be between 5 and 604800 seconds</constraintErrorMessage> + </properties> + </leafNode> </children> </node> </children> |