tuned some things and added some to user route
This commit is contained in:
@@ -8,8 +8,6 @@ const timestringconverter = require('timestringconverter');
|
||||
router.post('/', async (req, res) => {
|
||||
const {username, password, remember} = req.body;
|
||||
|
||||
console.log(username)
|
||||
|
||||
if(!username) return res.status(400).json({error: "Username not provided"});
|
||||
if(!password) return res.status(400).json({error: "Password not provided"});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user