summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-01 04:14:34 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-01 04:14:34 +0100
commita13502b881528a13da644f1441ce7eaa99764938 (patch)
treed0a7c8791c6ef02993c95a5801f0b7a1a03d756b /src
parentMerge pull request #364 from d42/d42/find-sso-flow (diff)
downloadnheko-a13502b881528a13da644f1441ce7eaa99764938.tar.xz
lint
Diffstat (limited to 'src')
-rw-r--r--src/LoginPage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp

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