You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand if a user is authenticated after I login using the default Admin.js login procedure.
I'm not using the admin.js router but just a simple express.js router like:
Session store and middleware are created specifically inside AdminJS router so you cannot access the session object in outside routes, you'd have to do something like:
I'm trying to understand if a user is authenticated after I login using the default Admin.js login procedure.
I'm not using the admin.js router but just a simple express.js router like:
But if I asking for Session inside the middleware is always undefined.
Where is a way to understand if I am authenticated in a generic middleware?
The text was updated successfully, but these errors were encountered: