mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-02 02:51:27 +03:00
Added option to change JWT expiration time called "Login expiration" in the Advanced tab
This commit is contained in:
@@ -29,7 +29,7 @@ exports.initialize = function(input_users_db, input_logger) {
|
||||
************************/
|
||||
saltRounds = 10;
|
||||
|
||||
JWT_EXPIRATION = (60 * 60); // one hour
|
||||
JWT_EXPIRATION = config_api.getConfigItem('ytdl_jwt_expiration');
|
||||
|
||||
SERVER_SECRET = null;
|
||||
if (users_db.get('jwt_secret').value()) {
|
||||
|
||||
Reference in New Issue
Block a user