Skip to content

Commit 2a0dba9

Browse files
committed
Fix broken URL in error message
The `/me` route has been changed into a redirect to `/settings/tokens` due to it being hardcoded in cargo for a specific purpose. The email address field has moved to `/settings/profile` though, so this commit fixes the error message to point to the correct page.
1 parent fd002a7 commit 2a0dba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/krate/publish.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub async fn publish(app: AppState, req: BytesRequest) -> AppResult<Json<GoodCra
102102
let verified_email_address = verified_email_address.ok_or_else(|| {
103103
cargo_err(&format!(
104104
"A verified email address is required to publish crates to crates.io. \
105-
Visit https://{}/me to set and verify your email address.",
105+
Visit https://{}/settings/profile to set and verify your email address.",
106106
app.config.domain_name,
107107
))
108108
})?;

0 commit comments

Comments
 (0)