mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 11:48:56 +03:00
Login Flow V2: remove static test url
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
8fa55b97b4
commit
12f2ea6728
3 changed files with 2 additions and 6 deletions
|
@ -233,9 +233,6 @@ void ConnectionValidator::checkServerCapabilities()
|
|||
QObject::connect(configJob, &JsonApiJob::jsonReceived, _account.data(),
|
||||
[=](const QJsonDocument &json) {
|
||||
ocsConfigReceived(json, account);
|
||||
|
||||
/*int size = 0;
|
||||
MessageBoxA(0, json.rawData(&size), "bla", MB_ICONINFORMATION);*/
|
||||
});
|
||||
configJob->start();
|
||||
}
|
||||
|
|
|
@ -105,10 +105,9 @@ void OwncloudSetupWizard::startWizard()
|
|||
{
|
||||
AccountPtr account = AccountManager::createAccount();
|
||||
account->setCredentials(CredentialsFactory::create("dummy"));
|
||||
account->setUrl(QUrl("https://127.0.0.1:8443/"));//Theme::instance()->overrideServerUrl());
|
||||
account->setUrl(Theme::instance()->overrideServerUrl());
|
||||
_ocWizard->setAccount(account);
|
||||
_ocWizard->setOCUrl(account->url().toString());
|
||||
// _ocWizard->setOCUrl("https://127.0.0.1:8443/"); //account->url().toString());
|
||||
|
||||
_remoteFolder = Theme::instance()->defaultServerFolder();
|
||||
// remoteFolder may be empty, which means /
|
||||
|
|
|
@ -413,7 +413,7 @@ public:
|
|||
OAuth,
|
||||
Shibboleth,
|
||||
WebViewFlow,
|
||||
LoginFlowV2
|
||||
LoginFlowV2
|
||||
};
|
||||
|
||||
explicit DetermineAuthTypeJob(AccountPtr account, QObject *parent = nullptr);
|
||||
|
|
Loading…
Reference in a new issue