Fixes a bug where the insecure credential store could not save credentials.
Part of the fix for #1377
This commit is contained in:
@@ -200,7 +200,9 @@ void Credentials::set(const QString &provider, const QString &name_,
|
||||
{
|
||||
auto &instance = insecureInstance();
|
||||
|
||||
instance.object()[name] = credential;
|
||||
auto obj = instance.object();
|
||||
obj[name] = credential;
|
||||
instance.setObject(obj);
|
||||
|
||||
queueInsecureSave();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user