You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Fix registration not being saved in database
This commit is contained in:
@ -164,6 +164,8 @@ async fn post(
|
||||
|
||||
let session_info = start_session(&mut txn, user).await.wrap_error()?;
|
||||
|
||||
txn.commit().await.wrap_error()?;
|
||||
|
||||
let session_cookie = SessionCookie::from_session(&session_info);
|
||||
let reply = query.redirect()?;
|
||||
let reply = cookie_saver.save_encrypted(&session_cookie, reply)?;
|
||||
|
Reference in New Issue
Block a user