Revert "improve user experience when generating new app"

This reverts commit 99eb07fecdee9e90b90667e35590a0abbd5577b2.
This commit is contained in:
sundaycrafts 2018-08-31 10:38:48 +09:00
parent 99eb07fecd
commit 9b02ccfead

View File

@ -187,7 +187,7 @@ module.exports = (scope, cb) => {
type: 'input',
name: 'authenticationDatabase',
message: 'Authentication database:',
default: _.get(scope.database, 'authenticationDatabase', 'admin')
default: _.get(scope.database, 'authenticationDatabase', undefined)
},
{
when: !hasDatabaseConfig && scope.client.database === 'mongo',