aktueller stand
This commit is contained in:
@@ -865,9 +865,9 @@ app.post('/api/auth/logout', requireAuth, (req, res) => {
|
||||
if (req.session?.profile?.id && req.session?.storesCache) {
|
||||
cachedStoreSnapshots.set(req.session.profile.id, req.session.storesCache);
|
||||
}
|
||||
sessionStore.delete(req.session.id);
|
||||
sessionStore.update(req.session.id, { uiLoggedOutAt: Date.now() });
|
||||
storeRefreshJobs.delete(req.session.id);
|
||||
res.json({ success: true });
|
||||
res.json({ success: true, backgroundJobsActive: true });
|
||||
});
|
||||
|
||||
app.get('/api/auth/session', requireAuth, async (req, res) => {
|
||||
|
||||
Reference in New Issue
Block a user