Skip to content
Snippets Groups Projects
Commit 136b914d authored by Adeel Khan's avatar Adeel Khan
Browse files

Fixes error caused by invalid Anonymous User passed to a view.

This patch would fix the case when an anonymous object is
getting passed to view causing "TypeError: int() argument must
be a string or a number, not 'AnonymousUser'" exception. Applying a
permission class would force user to be an authenticated
user otherwise would get a 403 response.

LEARNER-4162
parent 78434104
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.
Finish editing this message first!
Please register or to comment