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

Missing password still leads to login with password #13

Open
KrugJu opened this issue Mar 24, 2020 · 0 comments · May be fixed by #14
Open

Missing password still leads to login with password #13

KrugJu opened this issue Mar 24, 2020 · 0 comments · May be fixed by #14

Comments

@KrugJu
Copy link

KrugJu commented Mar 24, 2020

When a password is not specified using the -p flag, it is still passed to sequelize as if there was a password specified.
I fixed this by removing the default value for password.
Previously:

 .option('password', {
    alias: 'p',
    describe: 'Password for database.',
    type: 'string',
    default: 'root',
  })

Now:

.option('password', {
    alias: 'p',
    describe: 'Password for database.',
    type: 'string',
  })
@KrugJu KrugJu linked a pull request Mar 24, 2020 that will close this issue
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 a pull request may close this issue.

1 participant