Skip to content

Commit

Permalink
fix: use htmx redirect instead
Browse files Browse the repository at this point in the history
  • Loading branch information
speed2exe committed Nov 14, 2024
1 parent 7f73453 commit bd82873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin_frontend/src/web_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bd82873

Please sign in to comment.