v0.2.0:43 — BTCPay success page: return to Keysat, not StartOS

Connect now lives inside Keysat's admin UI, so the post-authorize
return target is Keysat's own tab. One-line copy in two paths.
This commit is contained in:
Grant
2026-05-12 12:42:10 -05:00
parent 17d5df72d3
commit c71345f002
2 changed files with 5 additions and 3 deletions
@@ -158,7 +158,7 @@ pub async fn callback(
Form(form): Form<CallbackForm>,
) -> AppResult<Response> {
finish_connect(&state, &q.state, &form.api_key).await?;
Ok(success_page("BTCPay connected successfully. You can close this tab and return to StartOS."))
Ok(success_page("BTCPay connected successfully. You can close this tab and return to Keysat."))
}
/// Some BTCPay deployments send the apiKey back as a query string on a GET.
@@ -190,7 +190,7 @@ pub async fn callback_get(
};
match finish_connect(&state, &q.state, &api_key).await {
Ok(()) => success_page(
"BTCPay connected successfully. You can close this tab and return to StartOS.",
"BTCPay connected successfully. You can close this tab and return to Keysat.",
),
Err(e) => Html(format!(
"<html><body><h2>BTCPay authorization failed</h2><p>{}</p></body></html>",