Closed JericN closed 8 months ago
Add authentication for protected routes
/user/*
/auth/login
/auth/*
/user/dashboard
For now lets use dummy session.
Add authentication for protected routes
/user/*
should redirect to/auth/login
if not authenticated/auth/*
should redirect to/user/dashboard
if authenticatedFor now lets use dummy session.