Skip to content

Conversation

scsmithr
Copy link
Contributor

Fixes #18

Types for connection configs all seem to allow 'undefined' for passwords.

@cmoog
Copy link
Owner

cmoog commented Feb 17, 2022

Nice find. Thank you for the contribution!

I'm still not sure what the root cause of #18 is... since we should never be storing undefined in the secrets store:

await this.context.secrets.store(passwordKey, password || '');

That said, since this fixes the blocking issue for the common case of an empty password, let's merge this now and I'll investigate further in a follow up.

@cmoog cmoog merged commit c7c8df3 into cmoog:master Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to reconnect to passwordless database

2 participants