Skip to content

Commit 10159e9

Browse files
authored
Update filebrowser.sh
1 parent 865e6fd commit 10159e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

misc/filebrowser.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ if [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
9191
if [[ "${auth_prompt,,}" =~ ^(y|yes)$ ]]; then
9292
msg_info "Configuring No Authentication"
9393
filebrowser config init -a '0.0.0.0' -p "$PORT" --database "$DB_PATH" &>/dev/null
94+
filebrowser config set -a '0.0.0.0' -p "$PORT" --database "$DB_PATH" &>/dev/null
95+
filebrowser config init -a '0.0.0.0' -p "$PORT" --auth.method=noauth --database "$DB_PATH" &>/dev/null
9496
filebrowser config set -a '0.0.0.0' -p "$PORT" --auth.method=noauth --database "$DB_PATH" &>/dev/null
9597
msg_ok "No Authentication configured"
9698
else

0 commit comments

Comments
 (0)