Skip to content

Commit

Permalink
fix(auth): correct typo of withAuthFinder in user model
Browse files Browse the repository at this point in the history
  • Loading branch information
aikrom committed Jan 24, 2024
1 parent 2b8641f commit 409320b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/stubs/make/model/user_with_access_tokens.stub
Expand Up @@ -12,7 +12,7 @@ import { compose } from '@adonisjs/core/helpers'
import { BaseModel, column } from '@adonisjs/lucid/orm'
import { DbAccessTokensProvider } from '@adonisjs/auth/access_tokens'

const AuthFinder = withAuthFindewithAuthFinder(() => hash.use('scrypt'), {
const AuthFinder = withAuthFinder(() => hash.use('scrypt'), {
uids: ['email'],
passwordColumnName: 'password',
})
Expand Down

0 comments on commit 409320b

Please sign in to comment.