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=a​uth.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
>
>

Reply via email to