Skip to content
Snippets Groups Projects
Unverified Commit f1ab1d13 authored by David Ormsbee's avatar David Ormsbee Committed by GitHub
Browse files

fix: change user from None to AnonymousUser in authenticated requests (#261)

Modified the Lti1p3ApiAuthentication authentication backend to return
AnonymousUser instead of None. This allows DarkLangMiddleware to work
properly without crashing when middleware tries to get a user info
from the request.

This investigation and patch was originally done by @OlhaShyliaieva in:
  https://github.com/openedx/xblock-lti-consumer/pull/228

I'm just rebasing it onto the latest version to land this change.
parent e889b783
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment