Support setting session timeout
This commit is contained in:
parent
fe6b177c3d
commit
d5a8ccb213
@ -23,6 +23,7 @@ let
|
|||||||
access-question: ${access-question}
|
access-question: ${access-question}
|
||||||
access-question-answers: ${access-question-answers}
|
access-question-answers: ${access-question-answers}
|
||||||
max-upload-size: ${toString max-upload-size}K
|
max-upload-size: ${toString max-upload-size}K
|
||||||
|
session-timeout: ${toString session-timeout}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
@ -61,6 +62,13 @@ in
|
|||||||
and the _upload url becoming inactive.
|
and the _upload url becoming inactive.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
session-timeout = mkOption {
|
||||||
|
type = lib.types.int;
|
||||||
|
default = 60;
|
||||||
|
description = ''
|
||||||
|
Number of minutes of inactivity before a session expires
|
||||||
|
'';
|
||||||
|
};
|
||||||
access-question = mkOption {
|
access-question = mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "";
|
default = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user