Skip to content
Snippets Groups Projects
Commit a13502b8 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

lint

parent aab7447d
No related branches found
No related tags found
No related merge requests found
Pipeline #269 failed
......@@ -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);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment