mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-12-01 22:58:49 +03:00
lint
This commit is contained in:
parent
aab7447d02
commit
a13502b881
1 changed files with 5 additions and 5 deletions
|
@ -316,11 +316,11 @@ LoginPage::checkHomeserverVersion()
|
||||||
emit versionOkCb(LoginMethod::Password);
|
emit versionOkCb(LoginMethod::Password);
|
||||||
|
|
||||||
LoginMethod loginMethod = LoginMethod::Password;
|
LoginMethod loginMethod = LoginMethod::Password;
|
||||||
for(const auto &flow : flows.flows) {
|
for (const auto &flow : flows.flows) {
|
||||||
if (flow.type == mtx::user_interactive::auth_types::sso) {
|
if (flow.type == mtx::user_interactive::auth_types::sso) {
|
||||||
loginMethod = LoginMethod::SSO;
|
loginMethod = LoginMethod::SSO;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit versionOk(loginMethod);
|
emit versionOk(loginMethod);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue