INNER CODE UNIT · JavaScript

handleDashboardCredentials

alohe/quicky · index.js:1715

		const handleDashboardCredentials = async () => {
			const { username, password } = await inquirer.prompt([
				{
					type: "input",
					name: "username",
					message: "Enter dashboard username:",
					default:
						config.dashboard?.username || "admin",
				},
				{
					type: "password",
					name: "password",
					message: "Enter dashboard password:",
				},
			]);

			const hashedPassword = await bcryptjs.hash(
				password,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…