fix: use htmx redirect instead

This commit is contained in:
Zack Fu Zi Xiang 2024-11-14 12:14:38 +08:00
parent 7f73453667
commit bd8287319d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ async fn open_app_handler(
session.token.refresh_token,
session.token.token_type,
);
Ok(Redirect::to(&app_sign_in_url).into_response())
Ok(htmx_redirect(&app_sign_in_url).into_response())
}
/// Delete the user account and all associated data.