summaryrefslogtreecommitdiff
path: root/src/createinstancedialogpages.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2026-05-12 13:50:45 -0500
committerGitHub <noreply@github.com>2026-05-12 13:50:45 -0500
commit3efaf7c9463261fb2d182a7ae00d9045a2b273b8 (patch)
tree8cc2c9f14d8cffe73187cf42ce8141c87bccef32 /src/createinstancedialogpages.cpp
parent41ffb25c03956d1c6619c284e821611e70bcc307 (diff)
Migrating to OAuth Authentication (#2374)
Co-authored-by: aglowinthefield <146008217+aglowinthefield@users.noreply.github.com> Co-authored-by: Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>
Diffstat (limited to 'src/createinstancedialogpages.cpp')
-rw-r--r--src/createinstancedialogpages.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/createinstancedialogpages.cpp b/src/createinstancedialogpages.cpp
index 66f4c31c..ac4103ea 100644
--- a/src/createinstancedialogpages.cpp
+++ b/src/createinstancedialogpages.cpp
@@ -103,6 +103,7 @@ void Page::next()
bool Page::action(CreateInstanceDialog::Actions a)
{
+ Q_UNUSED(a);
// no-op
return false;
}
@@ -1203,7 +1204,7 @@ NexusPage::NexusPage(CreateInstanceDialog& dlg) : Page(dlg), m_skip(false)
// just check it once, or connecting and then going back and forth would skip
// the page, which would be unexpected
- m_skip = GlobalSettings::hasNexusApiKey();
+ m_skip = GlobalSettings::hasNexusOAuthTokens() || GlobalSettings::hasNexusApiKey();
}
NexusPage::~NexusPage() = default;