summary refs log tree commit diff
path: root/src/LoginPage.cpp
diff options
context:
space:
mode:
authord42 <d42@users.noreply.github.com>2020-12-31 17:57:09 +0100
committerd42 <d42@users.noreply.github.com>2020-12-31 17:57:09 +0100
commitb732ea432b8e759b06e221b6d15f1e8a8b1723a9 (patch)
tree629c3de0c28a62b7310a04764fcfa6b2824c72a0 /src/LoginPage.cpp
parentfind sso flow in all of the flows (diff)
downloadnheko-b732ea432b8e759b06e221b6d15f1e8a8b1723a9.tar.xz
rename login_method -> loginMethod to fit the Nheko coding style
Diffstat (limited to 'src/LoginPage.cpp')
-rw-r--r--src/LoginPage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp

index fc918359..62498738 100644 --- a/src/LoginPage.cpp +++ b/src/LoginPage.cpp
@@ -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); }); }); }