Skip to content

Commit

Permalink
fix(register): removed login required
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Dec 19, 2021
1 parent d6378b0 commit faf5692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ router.route('/:id')
.put(loginRequired, updateProfile)
.delete(loginRequired, deleteProfile)

router.post('/register', loginRequired, register);
router.post('/register', register);

router.post('/login', login);

Expand Down

0 comments on commit faf5692

Please sign in to comment.