Skip to content

Commit

Permalink
Enable yarn rw setup auth supertokens (#7519)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Jan 31, 2023
1 parent a5173e0 commit 1eee15a
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions packages/cli/src/commands/setup/auth/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,18 @@ export async function builder(yargs) {
handler(args)
}
)
// @MARK We'll add this back when we finalize it in a v4 minor.
// This setup command wasn't in v3.x, so leaving it out isn't breaking.
//
// .command(
// 'supertokens',
// 'Set up auth for SuperTokens',
// (yargs) => standardAuthBuilder(yargs),
// async (args) => {
// const handler = await getAuthHandler(
// '@redwoodjs/auth-supertokens-setup'
// )
// console.log()
// handler(args)
// }
// )
.command(
'supertokens',
'Set up auth for SuperTokens',
(yargs) => standardAuthBuilder(yargs),
async (args) => {
const handler = await getAuthHandler(
'@redwoodjs/auth-supertokens-setup'
)
console.log()
handler(args)
}
)
}

/**
Expand Down

0 comments on commit 1eee15a

Please sign in to comment.