]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
imagecache: restrict access to webui allowed users only.
authorAdam Sutton <dev@adamsutton.me.uk>
Wed, 9 Jan 2013 13:44:48 +0000 (13:44 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Wed, 9 Jan 2013 13:44:48 +0000 (13:44 +0000)
src/webui/webui.c

index c7a79c503da31f980133cacff8530fade2fcd9cb..8d7d90d8da957a9cd1c01ffa6710802d583ed664 100644 (file)
@@ -967,7 +967,7 @@ webui_init(void)
 
   http_path_add("/stream",  NULL, http_stream,  ACCESS_STREAMING);
 
-  http_path_add("/imagecache", NULL, page_imagecache, ACCESS_ANONYMOUS);
+  http_path_add("/imagecache", NULL, page_imagecache, ACCESS_WEB_INTERFACE);
 
   webui_static_content("/static",        "src/webui/static");
   webui_static_content("/docs",          "docs/html");