mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-26 15:01:32 +08:00
feat(protected_session_timeout): add minimumSeconds
This commit is contained in:
parent
bd75a26803
commit
7f173b287a
@ -9,14 +9,14 @@ const TPL = `
|
||||
<div id="time-selector-placeholder"></div>
|
||||
</div>`;
|
||||
|
||||
// TriliumNextTODO: set minimum value to 60 seconds
|
||||
export default class ProtectedSessionTimeoutOption extends TimeSelector {
|
||||
constructor() {
|
||||
super({
|
||||
widgetId: "protected-session-timeout",
|
||||
widgetLabelId: "password.protected_session_timeout_label",
|
||||
optionValueId: "protectedSessionTimeout",
|
||||
optionTimeScaleId: "protectedSessionTimeoutTimeScale"
|
||||
optionTimeScaleId: "protectedSessionTimeoutTimeScale",
|
||||
minimumSeconds: 60
|
||||
});
|
||||
super.doRender();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user