billiedemott / spoutlets.com

Wireframes for various projects
0 stars 0 forks source link

the username should show successfully after login #93

Open deltanovember opened 12 years ago

deltanovember commented 12 years ago

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

deltanovember commented 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.

deltanovember commented 12 years ago

I had to hunt around in the issue tracker to find the answer