You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
d6e3f3f058
* fix: #8142, broken site if no server-side session During the `addHeader` middleware, a check is now done to see if `req.session.meta` is present. This value is only present if the user has a valid server-side session. If it is missing, then it is probably safe to assume that the server-side session was deleted (either intentionally or accidentally). In that scenario, the client-side cookie should be cleared. Also, there was an issue where the sessionRefresh flag was never cleared after a successful login, so that was fixed too. * feat: exported method to get cookie config * fix: don't clear cookie if cookie is being set * fix: socket.io tests Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
database | 5 years ago | |
files | ||
helpers | 5 years ago | |
mocks | 5 years ago | |
.eslintrc | ||
authentication.js | 6 years ago | |
batch.js | 6 years ago | |
blacklist.js | 6 years ago | |
build.js | 5 years ago | |
categories.js | 5 years ago | |
controllers-admin.js | 5 years ago | |
controllers.js | 5 years ago | |
coverPhoto.js | 6 years ago | |
database.js | 6 years ago | |
defer-logger.js | ||
emailer.js | ||
feeds.js | 6 years ago | |
file.js | 5 years ago | |
flags.js | 5 years ago | |
groups.js | 5 years ago | |
image.js | ||
locale-detect.js | 6 years ago | |
messaging.js | 5 years ago | |
meta.js | 6 years ago | |
mocha.opts | ||
notifications.js | 5 years ago | |
pagination.js | ||
plugins.js | 5 years ago | |
posts.js | 5 years ago | |
pubsub.js | ||
rewards.js | 5 years ago | |
search-admin.js | 6 years ago | |
search.js | 6 years ago | |
settings.js | ||
socket.io.js | 5 years ago | |
template-helpers.js | 6 years ago | |
topics.js | 5 years ago | |
translator.js | 5 years ago | |
uploads.js | 5 years ago | |
user.js | 5 years ago | |
utils.js | 5 years ago |