You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the push to 2FA we should eventually just remove the ability to authenticate with username/password in uploads all together and just require an API token.
A message will now be returned to users attempting to upload with basic auth.
We should eventually remove most of the associated code in the policy and simplify the logic to return the message regardless of whether the account works or not. Leaving this open as a reminder for that.
miketheman
added a commit
to miketheman/warehouse
that referenced
this issue
Jan 10, 2024
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.
Resolvespypi#13770
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
With the push to 2FA we should eventually just remove the ability to authenticate with username/password in uploads all together and just require an API token.
Ideally this comes after #13769.
This differs from #7265 in that #7265 only applies to people who have 2FA on their account, this applies to everyone.
The text was updated successfully, but these errors were encountered: