refactor(authn): Enable cookies in Integ (#6599)

This commit is contained in:
Mani Chandra
2024-11-26 17:46:32 +05:30
committed by GitHub
parent 29a0885a8f
commit 02479a12b1
11 changed files with 71 additions and 12 deletions

View File

@ -294,7 +294,7 @@ pub async fn connect_account(
pub async fn signout(
state: SessionState,
user_from_token: auth::UserFromToken,
user_from_token: auth::UserIdFromAuth,
) -> UserResponse<()> {
tfa_utils::delete_totp_from_redis(&state, &user_from_token.user_id).await?;
tfa_utils::delete_recovery_code_from_redis(&state, &user_from_token.user_id).await?;