You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Better logging of user-related DB operations
Also fixes a bug where the user would get redirected to the wrong URL for verifying their email address
This commit is contained in:
@@ -200,8 +200,8 @@ pub(crate) async fn post(
|
||||
|
||||
mailer.send_verification_email(mailbox, &context).await?;
|
||||
|
||||
let next =
|
||||
mas_router::AccountVerifyEmail::new(verification.data).and_maybe(query.post_auth_action);
|
||||
let next = mas_router::AccountVerifyEmail::new(verification.email.data)
|
||||
.and_maybe(query.post_auth_action);
|
||||
|
||||
let session = start_session(&mut txn, user).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user