Episode-9-Ditching-Cookies-for-JSON-Web-Tokens
Episode-9-Ditching-Cookies-for-JSON-Web-Tokens copied to clipboard
Possible bug
Just looking at your code...You have app.get('/logs', isAuth(), function* logs() {, but the ui router says .state('logs', { url: '/logs',
These seem to be conflicting GET
requests to me, and I don't think the state change error code will work properly.