Skip to content

Require verified email address to accept a crate ownership invitation #11404

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
Jun 22, 2025

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jun 22, 2025

This PR implements #6335, by returning errors to users with unverified email addresses that attempt to accept ownership invitations.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Jun 22, 2025
@Turbo87 Turbo87 requested a review from a team June 22, 2025 12:07
Copy link
Contributor

@eth3lbert eth3lbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
The crate_name seems to be used only when errors occur. I'm not sure if it's worth extracting it as a function and only calling it inside the error block. However, given that this should be a rare endpoint, I think it's also fine to keep it as is for now.

@Turbo87 Turbo87 force-pushed the verified-invites branch from fa16340 to 9b9e6ea Compare June 22, 2025 16:32
@Turbo87 Turbo87 enabled auto-merge (squash) June 22, 2025 16:33
@Turbo87 Turbo87 merged commit 80b905e into rust-lang:main Jun 22, 2025
10 checks passed
@Turbo87 Turbo87 deleted the verified-invites branch June 22, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants