klen / bottle-login

Implement users' sessions in Bottle framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on login.get_user()

S1M0NH opened this issue · comments

Hi. I'm getting an error whilst using the get_user() method. I can successfully save a user with login.login_user(), but when I try to retrieve the cookie, I get this:

 return self.user_loader(user_id)
TypeError: 'NoneType' object is not callable

Any ideas? Cheers.