BrowserLogicConnectLocalLogIn: Load the pairing page with embed=1

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
David Kocik 2026-11-24 13:46:08 +01:00
parent 03f92b40fe
commit fc17508901

View file

@ -22,6 +22,7 @@ namespace {
const std::string LOGIN_PAGE = "connect_local_login";
/** @brief The server's approval page has this long to show up, else the code is shown locally. */
constexpr std::chrono::seconds APPROVAL_PAGE_TIMEOUT{15};
const std::string EMBED_QUERY = "&embed=1";
std::string failure_reason(Biz::UserAccount::PairingFailure failure)
{
@ -245,7 +246,7 @@ std::vector<BrowserLogicCommand> BrowserLogicConnectLocalLogIn::
},
false
);
return {{BrowserLogicCommandType::LoadURL, m_pairing_url}};
return {{BrowserLogicCommandType::LoadURL, m_pairing_url + EMBED_QUERY}};
}
std::vector<BrowserLogicCommand> BrowserLogicConnectLocalLogIn::on_pairing_failed(