taninos katze
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 30s
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 30s
This commit is contained in:
@@ -26,9 +26,9 @@ export default (router, tpl) => {
|
||||
limit 1
|
||||
`;
|
||||
if(user.length === 0)
|
||||
return res.reply({ body: "user doesn't exist or wrong password" });
|
||||
return res.status(401).reply({ body: "user doesn't exist or wrong password" });
|
||||
if(!(await lib.verify(req.post.password, user[0].password)))
|
||||
return res.reply({ body: "user doesn't exist or wrong password" });
|
||||
return res.status(401).reply({ body: "user doesn't exist or wrong password" });
|
||||
const stamp = ~~(Date.now() / 1e3);
|
||||
|
||||
await db`
|
||||
|
Reference in New Issue
Block a user