mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-26 06:07:45 +00:00
Make sure to use insecure fallback when reading keychain values
(cherry picked from commit 6278dc2a96
)
This commit is contained in:
parent
785d9fe451
commit
942ed1fc59
1 changed files with 1 additions and 0 deletions
|
@ -316,6 +316,7 @@ QCoro::Task<QString> Account::getKeychainValue(const QString &key)
|
||||||
#else
|
#else
|
||||||
job->setKey(m_key + QStringLiteral("-") + key);
|
job->setKey(m_key + QStringLiteral("-") + key);
|
||||||
#endif
|
#endif
|
||||||
|
job->setInsecureFallback(m_launcher.isSteamDeck()); // The Steam Deck does not have secrets provider in Game Mode
|
||||||
job->start();
|
job->start();
|
||||||
|
|
||||||
co_await qCoro(job, &QKeychain::ReadPasswordJob::finished);
|
co_await qCoro(job, &QKeychain::ReadPasswordJob::finished);
|
||||||
|
|
Loading…
Add table
Reference in a new issue