mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
apiv1: add login/register back into apiv1
This commit is contained in:
parent
a79baba45c
commit
a661c18013
1 changed files with 4 additions and 0 deletions
|
|
@ -10,4 +10,8 @@ router.post('/api/v2/user/auth/facebook', auth.loginFacebook);
|
|||
router.post('/api/v2/user/reset-password', auth.resetPassword);
|
||||
router.post('/api/v2/user/change-password', auth.auth, auth.changePassword);
|
||||
|
||||
router.post('/api/v1/register', auth.registerUser);
|
||||
router.post('/api/v1/user/auth/local', auth.loginLocal);
|
||||
router.post('/api/v1/user/auth/facebook', auth.loginFacebook);
|
||||
|
||||
module.exports = router;
|
||||
Loading…
Reference in a new issue