Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic password support #643

Closed
vitaly-t opened this issue Aug 15, 2019 · 1 comment
Closed

Add dynamic password support #643

vitaly-t opened this issue Aug 15, 2019 · 1 comment

Comments

@vitaly-t
Copy link
Owner

As per PR #1926, to allow dynamic passwords.

vitaly-t added a commit that referenced this issue Aug 15, 2019
@vitaly-t
Copy link
Owner Author

vitaly-t commented Aug 15, 2019

Released in v9.0.2.

This is strictly a TypeScript-side update, to let you for the password pass in not only a string, but also a function that returns the password, which can even be asynchronous.

const cn = {
    database: 'my-db',
    password: () => 'pass123'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant