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:
parent
36c06eed8b
commit
6278dc2a96
1 changed files with 1 additions and 0 deletions
|
@ -318,6 +318,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