derbyjs / derby-examples

Example applications for the Derby framework
http://derbyjs.com/
283 stars 74 forks source link

Auth example: _session undefined #27

Closed ile closed 9 years ago

ile commented 11 years ago

model.get('_session.userId'); gives undefined in app/index.js.

codingisacopingstrategy commented 9 years ago

Hello, yes there were some outstanding pull requests by @redaktor and @cortfritz because that should actually be _session.user.

But it looks like the auth example has since been removed https://github.com/derbyjs/derby-examples/commit/13f87897d50b32cb897e9502a9fe0588578485d1

You can find more information on creating authentication in this blog post: http://www.glkn.ru/blog/2014/10/26/creating-private-todos-app/