mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 02:01:52 +02:00
Noauth
This commit is contained in:
@@ -151,11 +151,15 @@ PGID=0
|
|||||||
######################
|
######################
|
||||||
# LAUNCH FILEBROWSER #
|
# 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"
|
|
||||||
|
|
||||||
if bashio::config.true 'NoAuth'; then
|
if bashio::config.true 'NoAuth'; then
|
||||||
filebrowser config set --auth.method=noauth
|
filebrowser config set --auth.method=noauth
|
||||||
|
bashio::log.info "NoAuth option selected"
|
||||||
|
else
|
||||||
|
filebrowser config set --auth.method=json
|
||||||
|
bashio::log.info "Default username/password : admin/admin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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 --root=/ --address=0.0.0.0 --database=/config/filebrowser/filebrowser.dB
|
||||||
|
|||||||
Reference in New Issue
Block a user