Skip to content

Commit

Permalink
Merge pull request #1 from aikrom/develop
Browse files Browse the repository at this point in the history
fix(auth): correct typo of withAuthFinder in user model
  • Loading branch information
RomainLanz committed Jan 24, 2024
2 parents 2b8641f + 409320b commit 635c673
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 635c673

Please sign in to comment.