Skip to content

Commit 695b573

Browse files
committed
Disable auth timeout minutes
Setting auth timeout minutes to 0 will enable stay signed in days, which is default to 30 days --auth-timeout-minutes arg (=60) The number of minutes a user will stay logged in while idle before required to sign in again. Set this to 0 (disabled) to enable legacy timeout auth-stay-signed-in-days. --auth-stay-signed-in-days arg (=30) The number of days to keep a user signed in when using the "Stay Signed In" option. Will only take affect when auth-timeout-minutes is 0 (disabled).
1 parent 707a541 commit 695b573

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/script.sh.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ rserver \
7373
--auth-none 0 \
7474
--auth-pam-helper-path "${RSTUDIO_AUTH}" \
7575
--auth-encrypt-password 0 \
76+
--auth-timeout-minutes 0 \
7677
--rsession-path "${RSESSION_WRAPPER_FILE}" \
7778
--server-data-dir "${TMPDIR}/rserver-${SLURM_JOB_ID}" \
7879
--secure-cookie-key-file "${TMPDIR}/rserver-${SLURM_JOB_ID}/rstudio-server/secure-cookie-key" \

0 commit comments

Comments
 (0)