Skip to content

Commit

Permalink
fix: register auth provider under providers array
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 26, 2023
1 parent 9a8f445 commit 4392bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function presetAuth(
* Register provider to the rcfile
*/
await codemods.updateRcFile((rcFile) => {
rcFile.addCommand('@adonisjs/auth/auth_provider')
rcFile.addProvider('@adonisjs/auth/auth_provider')
})

/**
Expand Down

0 comments on commit 4392bd1

Please sign in to comment.