aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-03-22 16:57:27 -0700
committerAdam Soltys <[email protected]>2023-03-22 16:57:27 -0700
commitf4366d86b20a4a5a9bb3c85d9559d0b61beac6c9 (patch)
tree06e02c2e9275bb90eda80fe31b2542acc98f4ee4 /index.js
parent22f000244a0459cdfec9b96365147b233789e07b (diff)
downloadcoinos-server-f4366d86b20a4a5a9bb3c85d9559d0b61beac6c9.tar.gz
coinos-server-f4366d86b20a4a5a9bb3c85d9559d0b61beac6c9.zip
password reset
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 d5609e35..3430b67c 100644
--- a/index.js
+++ b/index.js
@@ -74,6 +74,7 @@ app.post("/register", users.create);
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.get('/users/delete/:username', users.del);