@@ -26,9 +26,9 @@ export default (router, tpl) => {
 | 
			
		||||
      limit 1
 | 
			
		||||
    `;
 | 
			
		||||
    if(user.length === 0)
 | 
			
		||||
      return res.status(401).reply({ body: "user doesn't exist or wrong password" });
 | 
			
		||||
      return res.reply({ body: "user doesn't exist or wrong password" });
 | 
			
		||||
    if(!(await lib.verify(req.post.password, user[0].password)))
 | 
			
		||||
      return res.status(401).reply({ body: "user doesn't exist or wrong password" });
 | 
			
		||||
      return res.reply({ body: "user doesn't exist or wrong password" });
 | 
			
		||||
    const stamp = ~~(Date.now() / 1e3);
 | 
			
		||||
 | 
			
		||||
    await db`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user