This commit is contained in:
2023-12-08 02:43:43 +01:00
parent 456deaa958
commit 7f6aa5a499

View File

@@ -63,6 +63,7 @@ router.post('/login', requestLimiter, async (req, res) => {
});
router.post('/verify', requestLimiter, async (req, res) => {
console.log(req.headers);
try {
const token = req.headers.authorization;
if (!token) return await respondWithStatus(res, 401, 'No token provided');