Better comments, add realm
This commit is contained in:
parent
0bd5e20c62
commit
aa507264eb
@ -1,20 +1,15 @@
|
|||||||
-- httpserver-conf.lua
|
-- httpserver-conf.lua
|
||||||
-- Part of nodemcu-httpserver, contains static configuration for httpserver.
|
-- Part of nodemcu-httpserver, contains static configuration for httpserver.
|
||||||
-- Author: Sam Dieck
|
-- Author: Sam Dieck
|
||||||
|
|
||||||
conf = {}
|
local conf = {}
|
||||||
|
|
||||||
-- WIFI
|
|
||||||
-- FIXME use these
|
|
||||||
--wifi = {}
|
|
||||||
--wifi.essid = "Internet"
|
|
||||||
--wifi.password = ""
|
|
||||||
|
|
||||||
-- Basic Authentication Conf
|
-- Basic Authentication Conf
|
||||||
auth = {}
|
local auth = {}
|
||||||
auth.enabled = false
|
auth.enabled = true
|
||||||
|
auth.realm = "nodemcu-httpserver" -- displayed in the login dialog users get
|
||||||
auth.user = "user"
|
auth.user = "user"
|
||||||
auth.password = "password"
|
auth.password = "password" -- PLEASE change this
|
||||||
conf.auth = auth
|
conf.auth = auth
|
||||||
|
|
||||||
return conf
|
return conf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user