first commit

This commit is contained in:
Rutra committed 2026-10-12 14:25:22 +02:00
commit 3c0479faf0
169 files changed
+27617

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { UserSchema } from '#database/schema'
import hash from '@adonisjs/core/services/hash'
import { compose } from '@adonisjs/core/helpers'
import { withAuthFinder } from '@adonisjs/auth/mixins/lucid'
export default class User extends compose(
UserSchema,
withAuthFinder(hash, { uids: ['username'], passwordColumnName: 'password' })
) {}