srflaxu40 / myledger

myledger
2 stars 0 forks source link

Backend: Make jwt verify logic global (?) #32

Closed srflaxu40 closed 5 years ago

srflaxu40 commented 5 years ago

Backend: Make jwt verify logic global (?):

Right now we are calling verifyJwt function inside route/auth.js.

Move this call to app.js in node framework somehow so it is called on every route.