Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error in sessionController.js, can't continue with the Tutorials! #27

Open
fshequin opened this issue Feb 23, 2016 · 1 comment
Open

Comments

@fshequin
Copy link

**/Users/fred/Sails-Projects/activityOverlord/api/controllers/SessionController.js:102
res.redirect('/user/show/' + user.id);
^

TypeError: Cannot read property 'id' of undefined
at /Users/fred/Sails-Projects/activityOverlord/api/controllers/SessionController.js:102:39**

Something wrong here that you did not cover and cannot find any comments on SailsCast that address this.

This was just after completing: Building a Sails Application: Ep14 - User Authentication and Restricting Access Through Policies.

Any help is much appreciated.

Kind Regards,

Fred Shequine
Web Developer

@hjdskhooba
Copy link

Can i grab it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants