Merge pull request #614 from strapi/hide-password-database-cli

Hide password database cli
This commit is contained in:
Jim LAURIE 2018-02-09 11:13:38 +01:00 committed by GitHub
commit cc4dc6cd50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,10 +186,11 @@ module.exports = (scope, cb) => {
},
{
when: !hasDatabaseConfig,
type: 'input',
type: 'password',
prefix: '',
name: 'password',
message: 'Password:',
mask: '*',
default: _.get(scope.database, 'password', undefined)
}
])