remove console.logs
This commit is contained in:
@@ -28,8 +28,6 @@ export function authenticate(user, pass) {
|
||||
const row = db.prepare(get_usr_stmt).get(user);
|
||||
let stored_pw = row.pw;
|
||||
|
||||
console.log(`+++ ${pass} || ${stored_pw} || ${hashed_pw}`);
|
||||
|
||||
if (hashed_pw && hashed_pw === stored_pw) {
|
||||
token = createToken({ id: user, admin: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user