fix auth middleware, store account in request

pull/4/head
Cameron Clough 2022-03-24 00:00:43 +00:00
parent 91d094eede
commit a73fd28b72
No known key found for this signature in database
GPG Key ID: BFB3B74B026ED43F
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ export const requireAuthenticated = async (req, res, next) => {
return;
}
req.account = account;
next();
};