Skip to content

Commit 0cf5edd

Browse files
committed
fix(cli): Login question
1 parent 9a61aef commit 0cf5edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cli/lib/questions.js.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ const questionsLogin = [
301301
}
302302
return true;
303303
},
304-
when: (answers) => answers.method === 'login'
304+
when: (answers) => answers.method !== 'select'
305305
},
306306
{
307307
type: "password",
@@ -314,7 +314,7 @@ const questionsLogin = [
314314
}
315315
return true;
316316
},
317-
when: (answers) => answers.method === 'login'
317+
when: (answers) => answers.method !== 'select'
318318
},
319319
{
320320
type: "list",

0 commit comments

Comments
 (0)