diff options
Diffstat (limited to 'module/web/json_app.py')
-rw-r--r-- | module/web/json_app.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/module/web/json_app.py b/module/web/json_app.py index 4b9c91634..d35ca1ad7 100644 --- a/module/web/json_app.py +++ b/module/web/json_app.py @@ -426,8 +426,8 @@ def change_password(): print "Wrong password" return HTTPError() -@route("/json/filemanager/rename", method="POST") -@login_required('filemanager') +#@route("/json/filemanager/rename", method="POST") +#@login_required('filemanager') def rename_dir(): try: path = decode(request.forms.get("path")) @@ -446,8 +446,8 @@ def rename_dir(): return HTTPError() -@route("/json/filemanager/delete", method="POST") -@login_required('filemanager') +#@route("/json/filemanager/delete", method="POST") +#@login_required('filemanager') def delete_dir(): try: try: @@ -463,8 +463,8 @@ def delete_dir(): return HTTPError() -@route("/json/filemanager/mkdir", method="POST") -@login_required('filemanager') +#@route("/json/filemanager/mkdir", method="POST") +#@login_required('filemanager') def make_dir(): try: path = decode(request.forms.get("path")) |