revert 334db9e766
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 15s
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 15s
revert taninos katze
This commit is contained in:
@@ -26,9 +26,9 @@ export default (router, tpl) => {
|
|||||||
limit 1
|
limit 1
|
||||||
`;
|
`;
|
||||||
if(user.length === 0)
|
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)))
|
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);
|
const stamp = ~~(Date.now() / 1e3);
|
||||||
|
|
||||||
await db`
|
await db`
|
||||||
|
Reference in New Issue
Block a user