Open deltanovember opened 12 years ago
everyauth is pretty bad. The documentation says
Then, from within your views, you will have access to the following helpers methods attached to the helper, everyauth:
everyauth.loggedIn everyauth.user - the User document associated with the session
When I convert everauth to JSON it looks like
{"loggedIn":true,"userId":"4f90e98277f6426c0a000001","password":{"loginFormFieldName":"login","passwordFormFieldName":"password"}}
In other words the user is missing.
I had to hunt around in the issue tracker to find the answer
Given a student is on http://spoutlets.com/ When I login Then I should see "How's it going,?" on http://spoutlets.com/tracker.html