Missing header

This commit is contained in:
Daniel García Aubert 2020-07-06 11:48:10 +02:00
parent 84a6432e42
commit b611b85604

View File

@ -11,6 +11,7 @@ module.exports = function user (metadataBackend) {
try {
res.locals.user = getUserNameFromRequest(req, cdbRequest);
logger.info({ user: res.locals.user });
res.set('Carto-User', res.locals.user);
} catch (err) {
return next(err);
}