fix(api): add isAuthenticated middleware to base user route

pull/821/head
sct 4 years ago
parent 2bcc3e3419
commit 8a27c70625

@ -35,7 +35,7 @@ router.get('/status/appdata', (_req, res) => {
});
});
router.use('/user', user);
router.use('/user', isAuthenticated(), user);
router.get('/settings/public', (_req, res) => {
const settings = getSettings();

Loading…
Cancel
Save