Skip to content

Instantly share code, notes, and snippets.

@geraldurbas
Forked from BrianAker/fix_truenas_auth_login.sh
Last active October 13, 2023 05:54
Show Gist options
  • Save geraldurbas/cd7e405c3ebe08062ab77716c475bd65 to your computer and use it in GitHub Desktop.
Save geraldurbas/cd7e405c3ebe08062ab77716c475bd65 to your computer and use it in GitHub Desktop.
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
@geraldurbas
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment