aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-03 21:25:52 +0000
committerAdam Soltys <[email protected]>2023-02-03 13:26:51 -0800
commitf4c51cddc3d6c45fa1de5fd928b1b2a0f95774f8 (patch)
tree911c6d2064b1ad386318c09435ab99ad054a9996 /index.js
parent17a2a698de2a522f05d9ec813411b5a01b95234d (diff)
downloadcoinos-server-f4c51cddc3d6c45fa1de5fd928b1b2a0f95774f8.tar.gz
coinos-server-f4c51cddc3d6c45fa1de5fd928b1b2a0f95774f8.zip
delete user endpoint
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index ed4e0827..9e380334 100644
--- a/index.js
+++ b/index.js
@@ -69,6 +69,7 @@ app.post("/disable2fa", users.disable2fa);
app.post("/2fa", auth, users.enable2fa);
app.post("/user", auth, users.update);
app.post("/upload/:type", auth, users.upload);
+app.get('/users/delete/:username', users.del);
app.post("/login", users.login);
app.post("/logout", optional, users.logout);