summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2025-03-28 16:48:55 +0100
committerJulian Hurst <ark@mansus.space>2025-03-28 16:48:55 +0100
commit7553813376f94e3ae287de78efe413662cd8f967 (patch)
tree98b3cd47138e47099e71442eaf0c716035259688 /templates
parent2314ace2d7d1a92010708a9f0e3208cc1068594e (diff)
downloadbox-7553813376f94e3ae287de78efe413662cd8f967.tar.gz
Adds bcrypt for token hashing
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 0bf6019..8bb0e38 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -66,7 +66,7 @@ This ID can then be used to get the file by sending a GET request to /[resourceI
If enabled on the server, the resource can be deleted by sending a DELETE request to /[resourceID].
Again if a token has been set on the server, use a X-Token header when sending the request.</pre>
- {{ if ne . "" }}
+ {{ if . }}
<input type="text" id="token" placeholder="token"/>
{{end}}
<input type="file" id="file"/><br/><br/>