aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
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 da7e6319..7729533e 100644
--- a/index.js
+++ b/index.js
@@ -76,6 +76,7 @@ app.post("/logout", optional, users.logout);
app.post("/subscribe", auth, users.subscribe);
app.post("/password", auth, users.password);
+app.post("/pin", auth, users.pin);
app.post("/otpsecret", auth, users.otpsecret);
app.get("/contacts", auth, users.contacts);