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
Should both be fixed in the coffee template version and the regular template version. I'm tbh not exactly sure why this happens, but it has something to do with that the store.modelMiddleware middleware triggers adding a express-session kind of instance (or something), but it is prematurely (when it is actually triggered, it cancels because "it's already been initiated" - although not in a proper way).
The text was updated successfully, but these errors were encountered:
I think I'm encountering this bug. Logging out does not seem to actually log out, the session model tracked by Racer is not getting updated. Not sure how to pinpoint the issue. I also added an issue here derbyparty/derby-login#39
Currently, sessions don't get set properly. This is because the store.modelMiddleware is triggered before the session middleware. I.e. the following line https://github.com/derbyparty/generator-derby/blob/master/app/templates/server/_express.js#L31 needs to move below the session middleware (located here: https://github.com/derbyparty/generator-derby/blob/master/app/templates/server/_express.js#L35 ).
Should both be fixed in the coffee template version and the regular template version. I'm tbh not exactly sure why this happens, but it has something to do with that the store.modelMiddleware middleware triggers adding a express-session kind of instance (or something), but it is prematurely (when it is actually triggered, it cancels because "it's already been initiated" - although not in a proper way).
The text was updated successfully, but these errors were encountered: