Skip to content

Missing password still leads to login with password #13

@KrugJu

Description

@KrugJu

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',
  })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions