mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
rename login_method -> loginMethod to fit the Nheko coding style
This commit is contained in:
parent
4bc25ffb15
commit
b732ea432b
1 changed files with 3 additions and 3 deletions
|
@ -315,14 +315,14 @@ LoginPage::checkHomeserverVersion()
|
|||
if (err || flows.flows.empty())
|
||||
emit versionOkCb(LoginMethod::Password);
|
||||
|
||||
LoginMethod login_method = LoginMethod::Password;
|
||||
LoginMethod loginMethod = LoginMethod::Password;
|
||||
for(const auto &flow : flows.flows) {
|
||||
if (flow.type == mtx::user_interactive::auth_types::sso) {
|
||||
login_method = LoginMethod::SSO;
|
||||
loginMethod = LoginMethod::SSO;
|
||||
break;
|
||||
}
|
||||
}
|
||||
emit versionOk(login_method);
|
||||
emit versionOk(loginMethod);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue