Just a thought here, but have you tried logging out and logging in again with the same password. Does it work ?
On Sunday, March 25, 2012 3:47:53 PM UTC+5:30, bussiere adrien wrote: > > i've created and logged my user with : > > password="toto" > my_crypt = CRYPT(key=auth.settings.hmac_key) > crypt_pass = my_crypt(password)[0] > user = db.auth_user.insert( > Surnom="Surnom", > email="email", > password=crypt_pass, > ) > db.commit() > session.auth = > Storage(user=user,expiration=auth.settings.expiration,hmac_key=str(uuid4())) > auth.login_bare(user,password) > and i have no error > > but when i wan to access a page with : > @auth.requires_login() > > it don't work > Ragrds > Bussiere > >