diff options
| author | Adam Soltys <[email protected]> | 2023-02-03 21:25:52 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-03 13:26:51 -0800 |
| commit | f4c51cddc3d6c45fa1de5fd928b1b2a0f95774f8 (patch) | |
| tree | 911c6d2064b1ad386318c09435ab99ad054a9996 /index.js | |
| parent | 17a2a698de2a522f05d9ec813411b5a01b95234d (diff) | |
| download | coinos-server-f4c51cddc3d6c45fa1de5fd928b1b2a0f95774f8.tar.gz coinos-server-f4c51cddc3d6c45fa1de5fd928b1b2a0f95774f8.zip | |
delete user endpoint
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |
