Skip to content

Commit 29bf7fe

Browse files
committed
fix(cli): update login to use new auth method
1 parent 51912b3 commit 29bf7fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cli/lib/commands/generic.js.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { globalConfig, localConfig } = require("../config");
66
const { actionRunner, success, parseBool, commandDescriptions, log, parse } = require("../parser");
77
{% if sdk.test != "true" %}
88
const { questionsLogin } = require("../questions");
9-
const { accountCreateEmailSession, accountDeleteSession } = require("./account");
9+
const { accountCreateEmailPasswordSession, accountDeleteSession } = require("./account");
1010

1111
const login = new Command("login")
1212
.description(commandDescriptions['login'])
@@ -18,7 +18,7 @@ const login = new Command("login")
1818

1919
let client = await sdkForConsole(false);
2020

21-
await accountCreateEmailSession({
21+
await accountCreateEmailPasswordSession({
2222
email: answers.email,
2323
password: answers.password,
2424
parseOutput: false,

0 commit comments

Comments
 (0)