summaryrefslogtreecommitdiff
path: root/templates/401.html
diff options
context:
space:
mode:
authorMia Herkt <mia@0x0.st>2022-11-30 01:42:49 +0100
committerMia Herkt <mia@0x0.st>2022-11-30 02:19:29 +0100
commita182b6199b7f55eeb573dccd6ce7926c40043680 (patch)
tree3c4faa600e40ab15befd731a085630c5b579dcf0 /templates/401.html
parenteb0b1d2f6992740e3b09bf383d8c0fa442faca55 (diff)
Allow management operations like deleting files
This introduces the X-Token header field in the response of newly uploaded files as a simple way for users to manage their own files. It does not need to be particularly secure.
Diffstat (limited to 'templates/401.html')
-rw-r--r--templates/401.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/401.html b/templates/401.html
new file mode 100644
index 0000000..672c7e4
--- /dev/null
+++ b/templates/401.html
@@ -0,0 +1,2 @@
+rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied
+