Unlock Secret Service Collection before using it
We should unlock the secret_service Collection before using it, so that saved logins work.
There are at least two choices:
- Just call
collection.unlock()
at the top ofrestore_sessions
andstore_session
in src/secret.rs - Copy the whole
get_default_collection_unlocked
function from the fractal master branch, first introduced in !639 (merged)
I've tried out both solutions. Either works on my machine (that is, saved logins work, when they did not before). Let me know which I should go with and I'll open a merge request.
Edited by enterprisey