We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cfc7a9 commit 36fe2d2Copy full SHA for 36fe2d2
rocketadmin-agent/src/helpers/cli/interactive-prompts.ts
@@ -412,10 +412,7 @@ export class InteractivePrompts {
412
console.log(` ${chalk.gray('Host:')} ${chalk.white(config.host)}`);
413
console.log(` ${chalk.gray('Port:')} ${chalk.white(config.port)}`);
414
if (config.username) {
415
- const maskedUsername = config.username.length > 2
416
- ? config.username.slice(0, 2) + '*'.repeat(Math.min(config.username.length - 2, 6))
417
- : '**';
418
- console.log(` ${chalk.gray('Username:')} ${chalk.white(maskedUsername)}`);
+ console.log(` ${chalk.gray('Username:')} ${chalk.white('[set]')}`);
419
}
420
if (config.database) {
421
console.log(` ${chalk.gray('Database:')} ${chalk.white(config.database)}`);
0 commit comments