Forked from BrianAker/fix_truenas_auth_login.sh
Last active
October 13, 2023 05:54
-
-
Save geraldurbas/cd7e405c3ebe08062ab77716c475bd65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For TrueNAS SCALE Only | |
sed -i 's/auth.generate_token",\[300/auth.generate_token",\[14400/g' /usr/share/truenas/webui/*.js | |
For TrueNAS CORE Only | |
sed -ie 's/auth.generate_token",\[300/auth.generate_token",\[14400/g' /usr/local/www/webui/*.js | |
#14400 = 4h | |
#129600 = 36h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From
https://tomschlick.com/blog/2022/06/28/extend-truenas-web-ui-session-timeout/