Skip to content

Commit

Permalink
fix: reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
byawitz committed Jun 11, 2024
1 parent cc78c01 commit 4ae99d5
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions templates/cli/lib/questions.js.twig
Original file line number Diff line number Diff line change
Expand Up @@ -531,50 +531,6 @@ const questionLoginWithEndpoint = [
questionsLogin[3]
]

const questionsRegister = [
{
type: "input",
name: "name",
message: "Enter your name",
validate(value) {
if (!value) {
return "Please enter your name";
}
return true;
},
},
{
type: "input",
name: "email",
message: "Enter your email",
validate(value) {
if (!value) {
return "Please enter your email";
}
return true;
},
},
{
type: "password",
name: "password",
message: "Enter your password",
mask: "*",
validate(value) {
if (!value) {
return "Please enter your password";
}
return true;
},
},
];

const questionsRegisterWithEndpoint = [
questionGetEndpoint[0],
questionsRegister[0],
questionsRegister[1],
questionsRegister[2]
]

const questionsLogout = [
{
type: "checkbox",
Expand Down Expand Up @@ -844,7 +800,5 @@ module.exports = {
questionsListFactors,
questionsMfaChallenge,
questionGetEndpoint,
questionLoginWithEndpoint,
questionsRegister,
questionsRegisterWithEndpoint
questionLoginWithEndpoint
};

0 comments on commit 4ae99d5

Please sign in to comment.