mirror of
https://github.com/strapi/strapi.git
synced 2025-08-11 18:27:22 +00:00
Merge pull request #614 from strapi/hide-password-database-cli
Hide password database cli
This commit is contained in:
commit
cc4dc6cd50
@ -186,10 +186,11 @@ module.exports = (scope, cb) => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
when: !hasDatabaseConfig,
|
when: !hasDatabaseConfig,
|
||||||
type: 'input',
|
type: 'password',
|
||||||
prefix: '',
|
prefix: '',
|
||||||
name: 'password',
|
name: 'password',
|
||||||
message: 'Password:',
|
message: 'Password:',
|
||||||
|
mask: '*',
|
||||||
default: _.get(scope.database, 'password', undefined)
|
default: _.get(scope.database, 'password', undefined)
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user