Commit 51719d5a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http intf: ensure the password is set

parent 499ecdbd
......@@ -320,6 +320,8 @@ if config.host then
end
password = vlc.var.inherit(nil,"http-password")
assert(password ~= "", "password not defined")
h = vlc.httpd()
load_dir( http_dir )
a = h:handler("/art",nil,password,callback_art,nil)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment