Skip to content

Don't allow users with unverified emails to upload at all #4292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

dstufft
Copy link
Member

@dstufft dstufft commented Jul 13, 2018

This will further expand the actions that a user without a verified email address cannot do, to uploading any file at all. Since this is the primary thing that people tend to do with PyPI (at least for the people for whom having a user account is very important), this should act as a strong forcing function to get people to verify their email address.

This does take a stronger stance that the old code did, instead of simply allowing any verified email, it explicitly checks to see if the primary email address is verified. The primary email address is the only one that we are going to attempt to send emails to, so it is the most important one to ensure remains valid.

This further progresses #3632.

@dstufft dstufft force-pushed the limit-unverified branch from 6d0e1c4 to 31a8715 Compare July 13, 2018 00:31
@dstufft dstufft merged commit 9233099 into pypi:master Jul 13, 2018
@dstufft dstufft deleted the limit-unverified branch July 13, 2018 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant