From 51719d5a03afd84eb0ddc76eed393b196d15b0d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 22 Apr 2013 19:35:01 +0300 Subject: [PATCH] http intf: ensure the password is set --- share/lua/intf/http.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/lua/intf/http.lua b/share/lua/intf/http.lua index ea6ce87e22..f428a7f0c3 100644 --- a/share/lua/intf/http.lua +++ b/share/lua/intf/http.lua @@ -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) -- 2.39.5