mango icon indicating copy to clipboard operation
mango copied to clipboard

Can you provide some docs on how to use it in authentication?

Open ghost opened this issue 14 years ago • 0 comments

Hi. Do you have docs for using it in authentication? I am able to authenticate for now, but I am not able to set it within the session management.

I have been doing something like that in my login: user = backend.authenticate(login, password) if user is not None: auth.login( request, user)

However, checking if a user is authenticated is not supported for now: if request.user.is_authenticated(): this throws an error.

Maybe I am using it wrong?

ghost avatar Jul 22 '10 18:07 ghost