Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Jul 22, 2010 · 0 comments
Open

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

ghost opened this issue Jul 22, 2010 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 22, 2010

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants