summary refs log tree commit diff
path: root/src/LoginPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LoginPage.cpp')
-rw-r--r--src/LoginPage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp

index 856c0ad3..bb329699 100644 --- a/src/LoginPage.cpp +++ b/src/LoginPage.cpp
@@ -311,9 +311,9 @@ LoginPage::versionError(const QString &error) } void -LoginPage::versionOk(LoginMethod loginMethod) +LoginPage::versionOk(LoginMethod loginMethod_) { - this->loginMethod = loginMethod; + this->loginMethod = loginMethod_; serverLayout_->removeWidget(spinner_); matrixidLayout_->removeWidget(spinner_); @@ -372,8 +372,8 @@ LoginPage::onLoginButtonClicked() auto sso = new SSOHandler(); connect(sso, &SSOHandler::ssoSuccess, this, [this, sso](std::string token) { mtx::requests::Login req{}; - req.token = token; - req.type = mtx::user_interactive::auth_types::token; + req.token = token; + req.type = mtx::user_interactive::auth_types::token; req.device_id = deviceName_->text().trimmed().isEmpty() ? initialDeviceName() : deviceName_->text().toStdString();