aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-06 23:20:08 -0800
committerAdam Soltys <[email protected]>2023-02-06 23:20:19 -0800
commit831877b74fdd62f96e1b385225b41e1415b13fba (patch)
treea2f40f03f07af4d30d93a802a1c3417a6b95df21 /index.js
parent61b2836e61ea120a8c808cda315a7eaa53e567fa (diff)
downloadcoinos-server-831877b74fdd62f96e1b385225b41e1415b13fba.tar.gz
coinos-server-831877b74fdd62f96e1b385225b41e1415b13fba.zip
pin 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 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);