From e345f2ced5dc76808e2979043ffea1341eba72fb Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 20 Feb 2011 12:56:27 +0100 Subject: correct permission for js code --- module/web/pyload_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/web/pyload_app.py') diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 3869fd4cf..7a93ad8db 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -317,7 +317,7 @@ def config(): [pre_processor]) @route("/package_ui.js") -@login_required('can_see_dl') +@login_required('see_downloads') def package_ui(): response.headers['Expires'] = time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime(time.time() + 60 * 60 * 24 * 7)) -- cgit v1.2.3