Merge pull request #947 from AppFlowy-IO/fix/email-magic-link

fix: login callback for signup
This commit is contained in:
Zack 2024-10-29 11:29:42 +08:00 committed by GitHub
commit 0627e07b36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ async fn send_magic_link(
email: email.to_owned(),
..Default::default()
},
Some("/web/login".to_owned()),
Some("/web/login-callback".to_owned()),
)
.await?;
Ok(WebApiResponse::<()>::from_str("Magic Link Sent".into()))