diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2026-05-12 13:50:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-12 13:50:45 -0500 |
| commit | 3efaf7c9463261fb2d182a7ae00d9045a2b273b8 (patch) | |
| tree | 8cc2c9f14d8cffe73187cf42ce8141c87bccef32 /src/moapplication.cpp | |
| parent | 41ffb25c03956d1c6619c284e821611e70bcc307 (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/moapplication.cpp')
| -rw-r--r-- | src/moapplication.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/moapplication.cpp b/src/moapplication.cpp index 6e0d5003..dd0b897b 100644 --- a/src/moapplication.cpp +++ b/src/moapplication.cpp @@ -323,9 +323,10 @@ int MOApplication::run(MOMultiProcess& multiProcess) tt.start("MOApplication::doOneRun() finishing"); // start an api check - QString apiKey; - if (GlobalSettings::nexusApiKey(apiKey)) { - m_nexus->getAccessManager()->apiCheck(apiKey); + NexusOAuthTokens tokens; + if (GlobalSettings::nexusOAuthTokens(tokens) || + GlobalSettings::nexusApiKey(tokens.apiKey)) { + m_nexus->getAccessManager()->apiCheck(tokens); } // tutorials |
