#write custom middleware for login route
9 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Good morning @lime wolf - could you please detail your question a bit more? Happy to help!
hi @rough mirage how can i write middleware in login functionality ?.
@lime wolf Payload uses express to implement auth functionality - check out the documentation on middleware: https://payloadcms.com/docs/authentication/using-middleware#using-the-payload-auth-middleware
Let me know if you're still stuck after checking that out!
In addition
You'll probably want to check out the "custom middlware" portion