Basic hook to check col on signin
Hi,
If I have a column called active and I want to check when user signs in if active is true or not - how can I do this?
Meanwhile have only added email and password auth and added a col called active.
Solution:Jump to solution
In case anyonelooking for the answer
```ts
hooks: {
before: createAuthMiddleware(async (ctx) => {...
1 Reply
Solution
In case anyonelooking for the answer
i did somethign like this