mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Correctly migrate accounts that have possible webflow but not correct authtype in settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
bab20a3d83
commit
0ee850009b
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,7 @@ constexpr auto userC = "user";
|
|||
constexpr auto displayNameC = "displayName";
|
||||
constexpr auto httpUserC = "http_user";
|
||||
constexpr auto davUserC = "dav_user";
|
||||
constexpr auto webflowUserC = "webflow_user";
|
||||
constexpr auto shibbolethUserC = "shibboleth_shib_user";
|
||||
constexpr auto caCertsKeyC = "CaCertificates";
|
||||
constexpr auto accountsC = "Accounts";
|
||||
|
@ -362,6 +363,8 @@ AccountPtr AccountManager::loadAccountHelper(QSettings &settings)
|
|||
authType = httpAuthTypeC;
|
||||
} else if (settings.contains(QLatin1String(shibbolethUserC))) {
|
||||
authType = shibbolethAuthTypeC;
|
||||
} else if (settings.contains(webflowUserC)) {
|
||||
authType = webflowAuthTypeC;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue