summary refs log tree commit diff
path: root/src/LoginPage.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-06 08:02:00 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-06 08:02:00 -0500
commit1db68109fc246880fca9476e84ff5949b116922c (patch)
tree0931664a49bc5180099ba782817d1fff7bae5c9b /src/LoginPage.cpp
parentMerge pull request #365 from Nheko-Reborn/typing (diff)
parentRemove sodium from flatpak (diff)
downloadnheko-1db68109fc246880fca9476e84ff5949b116922c.tar.xz
Merge branch 'macos-ci-fix' into 'master'
Macos ci fix

See merge request nheko-reborn/nheko!3
Diffstat (limited to 'src/LoginPage.cpp')
-rw-r--r--src/LoginPage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp

index 39d0f9d6..dba5ba51 100644 --- a/src/LoginPage.cpp +++ b/src/LoginPage.cpp
@@ -315,14 +315,14 @@ LoginPage::checkHomeserverVersion() if (err || flows.flows.empty()) emit versionOkCb(LoginMethod::Password); - LoginMethod loginMethod = LoginMethod::Password; + LoginMethod loginMethod_ = LoginMethod::Password; for (const auto &flow : flows.flows) { if (flow.type == mtx::user_interactive::auth_types::sso) { - loginMethod = LoginMethod::SSO; + loginMethod_ = LoginMethod::SSO; break; } } - emit versionOk(loginMethod); + emit versionOk(loginMethod_); }); }); }