diff options
| author | Pitu <[email protected]> | 2017-01-30 05:43:15 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-30 05:43:15 -0300 |
| commit | ec9de34cb34e333c1b60dbc9c0251a835095fdc6 (patch) | |
| tree | 778981ee88301a3395a485de65af09d8d04bdc73 /routes | |
| parent | Fixed wrong error text (diff) | |
| download | host.fuwn.me-ec9de34cb34e333c1b60dbc9c0251a835095fdc6.tar.xz host.fuwn.me-ec9de34cb34e333c1b60dbc9c0251a835095fdc6.zip | |
Added changePassword
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/api.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/api.js b/routes/api.js index 07e13f0..5aa10ea 100644 --- a/routes/api.js +++ b/routes/api.js @@ -14,6 +14,7 @@ routes.get ('/check', (req, res, next) => { routes.post ('/login', (req, res, next) => authController.verify(req, res, next)) routes.post ('/register', (req, res, next) => authController.register(req, res, next)) +routes.post ('/password/change', (req, res, next) => authController.changePassword(req, res, next)) routes.get ('/uploads', (req, res, next) => uploadController.list(req, res)) routes.get ('/uploads/:page', (req, res, next) => uploadController.list(req, res)) |