mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix key upload when doing SSO login
This commit is contained in:
parent
71a7dace81
commit
e98145daec
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ LoginPage::onLoginButtonClicked(LoginMethod loginMethod,
|
|||
mtx::requests::Login req{};
|
||||
req.token = token;
|
||||
req.type = mtx::user_interactive::auth_types::token;
|
||||
req.device_id =
|
||||
req.initial_device_display_name =
|
||||
deviceName.trimmed().isEmpty() ? initialDeviceName_() : deviceName.toStdString();
|
||||
http::client()->login(
|
||||
req, [this](const mtx::responses::Login &res, mtx::http::RequestErr err) {
|
||||
|
|
Loading…
Reference in a new issue