koajs / userauth

koa user auth middleware
MIT License
137 stars 18 forks source link

Always throw getUser error #11

Open linkkingjay opened 9 years ago

linkkingjay commented 9 years ago

Whenever a user which is not logined visit the site, it throws a getUser error. Why is userauth trying to login directly before redirect to login path? In my case, it will always fail.