lengsovandara
Results
1
comments of
lengsovandara
Replace userdb by below code in function isAuthenticated ``` function isAuthenticated({email, password}){ return JSON.parse(fs.readFileSync('./users.json', 'UTF-8')).users.findIndex(user => user.email === email && user.password === password) !== -1 } ``` when user have...