1
0
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:
Quentin Gliech
2022-10-21 12:45:29 +02:00
parent 27ace2aaca
commit 5580179537
2 changed files with 172 additions and 35 deletions

View File

@@ -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?;