Do not automatically validate server URL when enforced servers is active but have multiple servers

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-09-19 18:13:05 +08:00 committed by Matthieu Gallien
parent 0663120f4f
commit d84ede3ef2

View file

@ -206,7 +206,7 @@ void OwncloudSetupPage::initializePage()
if (nextButton) {
nextButton->setFocus();
}
} else if (isServerUrlOverridden) {
} else if (isServerUrlOverridden && !Theme::instance()->multipleOverrideServers()) {
// If the overwritten url is not empty and we force this overwritten url
// we just check the server type and switch to next page
// immediately.