Skip to content

Commit 6e68a4d

Browse files
fix(filebrowser): set default password for admin user during initial setup in run script in order to satisfy fb user requirements
1 parent 3c3daee commit 6e68a4d

File tree

1 file changed

+1
-1
lines changed
  • registry/coder/modules/filebrowser

1 file changed

+1
-1
lines changed

registry/coder/modules/filebrowser/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export FB_DATABASE="${DB_PATH}"
2525
# Check if filebrowser db exists
2626
if [[ ! -f "${DB_PATH}" ]]; then
2727
filebrowser config init 2>&1 | tee -a ${LOG_PATH}
28-
filebrowser users add admin "" --perm.admin=true --viewMode=mosaic 2>&1 | tee -a ${LOG_PATH}
28+
filebrowser users add admin "coderPASSWORD" --perm.admin=true --viewMode=mosaic 2>&1 | tee -a ${LOG_PATH}
2929
fi
3030

3131
filebrowser config set --baseurl=${SERVER_BASE_PATH} --port=${PORT} --auth.method=noauth --root=$ROOT_DIR 2>&1 | tee -a ${LOG_PATH}

0 commit comments

Comments
 (0)