Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-06-07 17:49:38 +0300
committerOlivier Goffart <olivier@woboq.com>2017-06-12 13:58:20 +0300
commit85408961bae3bc98d9f45e40cad2a52f938b5659 (patch)
treee92f64908cbe346e2a7b8e2b59ec77383676d968 /src/gui/owncloudsetupwizard.cpp
parent04b6794318133b167acf3665023319bc95ff7f8b (diff)
Wizard: Don't let the second to last page go back with OAuth2
We don't want to re-open the browser in that case.
Diffstat (limited to 'src/gui/owncloudsetupwizard.cpp')
-rw-r--r--src/gui/owncloudsetupwizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp
index 2f1d73b10..f124fa265 100644
--- a/src/gui/owncloudsetupwizard.cpp
+++ b/src/gui/owncloudsetupwizard.cpp
@@ -346,7 +346,7 @@ void OwncloudSetupWizard::slotAuthError()
}
_ocWizard->show();
- if (_ocWizard->currentId() == WizardCommon::Page_ShibbolethCreds) {
+ if (_ocWizard->currentId() == WizardCommon::Page_ShibbolethCreds || _ocWizard->currentId() == WizardCommon::Page_OAuthCreds) {
_ocWizard->back();
}
_ocWizard->displayError(errorMsg, _ocWizard->currentId() == WizardCommon::Page_ServerSetup && checkDowngradeAdvised(reply));