From d31ec324c2a364ae8905cbb736311df1d41c405c Mon Sep 17 00:00:00 2001 From: Buck Brady <22723438+buckbrady@users.noreply.github.com> Date: Tue, 12 Mar 2024 03:01:43 -0600 Subject: [PATCH] Update accountCreateEmailSession to accountCreateEmailPasswordSession in generic.js.twig --- templates/cli/lib/commands/generic.js.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cli/lib/commands/generic.js.twig b/templates/cli/lib/commands/generic.js.twig index c2ee680a0..c3fe7da4b 100644 --- a/templates/cli/lib/commands/generic.js.twig +++ b/templates/cli/lib/commands/generic.js.twig @@ -6,7 +6,7 @@ const { globalConfig, localConfig } = require("../config"); const { actionRunner, success, parseBool, commandDescriptions, log, parse } = require("../parser"); {% if sdk.test != "true" %} const { questionsLogin } = require("../questions"); -const { accountCreateEmailSession, accountDeleteSession } = require("./account"); +const { accountCreateEmailPasswordSession, accountDeleteSession } = require("./account"); const login = new Command("login") .description(commandDescriptions['login']) @@ -18,7 +18,7 @@ const login = new Command("login") let client = await sdkForConsole(false); - await accountCreateEmailSession({ + await accountCreateEmailPasswordSession({ email: answers.email, password: answers.password, parseOutput: false,