mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
7 lines
199 B
JavaScript
Executable file
7 lines
199 B
JavaScript
Executable file
module.exports = async function isAuthenticated(req, res, proceed) {
|
|
if (!req.currentUser) {
|
|
return res.unauthorized('Access token is missing, invalid or expired');
|
|
}
|
|
|
|
return proceed();
|
|
};
|