mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Allow no auth
This commit is contained in:
@@ -55,10 +55,18 @@ else
|
||||
KEYFILE=""
|
||||
fi
|
||||
|
||||
###########
|
||||
# No Auth #
|
||||
###########
|
||||
|
||||
if bashio::config.true 'NoAuth'; then
|
||||
NOAUTH="--auth.method=noauth"
|
||||
fi
|
||||
|
||||
######################
|
||||
# LAUNCH FILEBROWSER #
|
||||
######################
|
||||
bashio::log.info "Default username/password : admin/admin"
|
||||
bashio::log.info "Please wait 1 or 2 minutes to allow the server to load"
|
||||
|
||||
/./filebrowser $CERTFILE $KEYFILE --root=/ --address=0.0.0.0 --database=/config/filebrowser/filebrowser.db
|
||||
/./filebrowser $CERTFILE $KEYFILE $NOAUTH --root=/ --address=0.0.0.0 --database=/config/filebrowser/filebrowser.db
|
||||
|
||||
Reference in New Issue
Block a user