Skip to content

Commit

Permalink
chore: remove most of basic auth code
Browse files Browse the repository at this point in the history
Now that the active policies are Session (for web) and Macaroon (for
upload), remove the bulk of the BasicAuth policy.

Move the logic farther up the chain, so that there's no extra work put
in before telling the user that they should migrate to API Tokens.

Resolves pypi#13770

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
  • Loading branch information
miketheman committed Jan 10, 2024
1 parent a280218 commit 6206fb7
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 567 deletions.
Loading

0 comments on commit 6206fb7

Please sign in to comment.