Login Flow V2: remove static test url

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2019-08-19 20:40:30 +02:00 committed by Roeland Jago Douma
parent 8fa55b97b4
commit 12f2ea6728
No known key found for this signature in database
GPG key ID: F941078878347C0C
3 changed files with 2 additions and 6 deletions

View file

@ -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();
}

View file

@ -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 /

View file

@ -413,7 +413,7 @@ public:
OAuth,
Shibboleth,
WebViewFlow,
LoginFlowV2
LoginFlowV2
};
explicit DetermineAuthTypeJob(AccountPtr account, QObject *parent = nullptr);