aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 40c72795..4a645f15 100644
--- a/index.js
+++ b/index.js
@@ -79,7 +79,7 @@ app.post("/disable2fa", auth, users.disable2fa);
app.post("/2fa", auth, users.enable2fa);
app.post("/user", auth, users.update);
app.post("/reset", auth, users.reset);
-app.post("/upload/:type", auth, users.upload);
+app.post("/upload/:type", users.upload);
app.get("/users/delete/:username", users.del);
app.post("/login", users.login);