mirror of
https://github.com/prusa3d/PrusaSlicer.git
synced 2026-11-26 23:29:07 +00:00
BrowserLogicConnectLocalLogIn: Load the pairing page with embed=1
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
03f92b40fe
commit
fc17508901
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue