mern-x
mern-x copied to clipboard
Auth middleware
hi,
I see there is auth middleware with jsonwebtoken
. Is it possible to add a sample login form to login the user to create item(s) or similar when the user is logged in and redirect to login page if not.
-- Thanks & regards, Ragavendra