Closed dirszas14 closed 2 years ago
is there any way to change the default target other that User model? i've seen you can only set model User only.
config/auth.ts
contracts/auth.ts
I made this 2 tables because every users has different feature so I separately. I did this on Laravel works as well.
i found it! it weirds
you must define this on your model
@column({ serializeAs: null }) public password: string @column() public rememberMeToken?: string
@column({ serializeAs: null }) public password: string
@column() public rememberMeToken?: string
Closing since not actionable.
is there any way to change the default target other that User model? i've seen you can only set model User only.
config/auth.ts
contracts/auth.ts
I made this 2 tables because every users has different feature so I separately. I did this on Laravel works as well.