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();
|
auto &instance = insecureInstance();
|
||||||
|
|
||||||
instance.object()[name] = credential;
|
auto obj = instance.object();
|
||||||
|
obj[name] = credential;
|
||||||
|
instance.setObject(obj);
|
||||||
|
|
||||||
queueInsecureSave();
|
queueInsecureSave();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user