Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if the Authorization header for Basic Authentication is valid
If the header is not valid, DRF returns None when calling the authenticate() method. This can cause troubles when users are leveraging the remote authentication because Pulp thinks they are anonymous users. In the end, authorized users cannot push or pull content from Pulp. This affects only admin users in scenarios where the token authentication is disabled. closes #1577 (cherry picked from commit b1c5d70)
- Loading branch information