We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: