1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00

Make sure to use insecure fallback when reading keychain values

This commit is contained in:
Joshua Goins 2024-08-04 22:50:19 -04:00
parent 36c06eed8b
commit 6278dc2a96

View file

@ -318,6 +318,7 @@ QCoro::Task<QString> Account::getKeychainValue(const QString &key)
#else
job->setKey(m_key + QStringLiteral("-") + key);
#endif
job->setInsecureFallback(m_launcher.isSteamDeck()); // The Steam Deck does not have secrets provider in Game Mode
job->start();
co_await qCoro(job, &QKeychain::ReadPasswordJob::finished);