sandboxnu / seitz

1 stars 0 forks source link

Created authentication check middleware #24

Closed amberchow8 closed 8 months ago

amberchow8 commented 8 months ago

-Closes #5 -For routes requiring authentication, can use the isAuthenticated function from /middleware/auth -There's an error with using both res.status.send and redirect("/login"), not sure which one would be better