icoa-cli 2.19.1 → 2.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/ctf.js +2 -2
- package/package.json +1 -1
package/dist/commands/ctf.js
CHANGED
|
@@ -30,8 +30,8 @@ export function registerCtfCommands(program) {
|
|
|
30
30
|
logCommand(`ctf join ${url}`);
|
|
31
31
|
console.log();
|
|
32
32
|
printInfo(`Connecting to ${chalk.bold(url)}`);
|
|
33
|
-
const username = await input({ message: 'Username:' });
|
|
34
|
-
const password = await passwordPrompt({ message: 'Password:', mask: '*' });
|
|
33
|
+
const username = await input({ message: chalk.white('Username:'), theme: { prefix: '', style: { message: (t) => t } } });
|
|
34
|
+
const password = await passwordPrompt({ message: chalk.white('Password:'), mask: '*', theme: { prefix: '', style: { message: (t) => t } } });
|
|
35
35
|
let token = '';
|
|
36
36
|
let sessionCookie = '';
|
|
37
37
|
let csrfNonce = '';
|