Skip to content

Commit

Permalink
Change email verification URL path
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantGryczan committed Dec 7, 2024
1 parent 0d746b5 commit 252a315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes/v1/email_verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub async fn post(Json(body): Json<PostRequest>) -> Response<PostResponse> {

VerificationMessage {
email: body.email.as_str(),
verification_url: &format!("{}/sign-up?token={}", *WEBSITE_ORIGIN, token),
verification_url: &format!("{}/verify-email?token={}", *WEBSITE_ORIGIN, token),
}
.to(Mailbox::new(None, (*body.email).clone()))
.send();
Expand Down

0 comments on commit 252a315

Please sign in to comment.