Users can pick an inactivity timeout in their preferences. A warning appears 30 seconds before, and activity or a logout is synchronised across open tabs.
15 lines
446 B
JavaScript
15 lines
446 B
JavaScript
/*!
|
|
* Copyright (c) 2024 PLANKA Software GmbH
|
|
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
|
*/
|
|
|
|
module.exports.up = (knex) =>
|
|
knex.schema.alterTable('user_account', (table) => {
|
|
table.string('auto_logout_mode').notNullable().defaultTo('30m');
|
|
});
|
|
|
|
module.exports.down = (knex) =>
|
|
knex.schema.alterTable('user_account', (table) => {
|
|
table.dropColumn('auto_logout_mode');
|
|
});
|