summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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); });