--
You received this message because you are subscribed to the Google Groups "actionHero.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to actionhero-j...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
> Here's a test I added to ensure that sessionIDs are persisting across requests
Thanks, that sparked an idea, this bit:
body1.requesterInformation.id.should.equal(body2.requesterInformation.id);
It would be useful to store the username of the logged in user on the requestInformation. Is there a recommended way to extend building the requesterInformation?
cookies = {}
Yet, I've verified that ActionHero is clearly returning the cookie in the response.
Added a route (the second one):
{ path: '/admin/login', action: 'login'},
{ path: '/login', action: 'login'},
And then
[ 'sessionID=934df4cd34bcd2cafbef32cb077f335c2863cb03;path=/;' ]
Thanks!!!
> a *very* rigid follower of HTTP specs
yes sounds like it, but its still not clear why /api/login has the same cookie path as /api/users but not /api/admin/login