Licence
ISC
Version
1.0.1
Deps
3
Size
5 kB
Vulns
2
Weekly
0
Module to be used along with a server that protects the content of a certain file in the filesystem. Beware of installing the module "bodyparser" (it's needed in order to execute certain parts of the code)
The server also needs to add this line:
app.use(bodyp.urlencoded({extended : false}));
So the POST functions (like register or login) can retrieve information sent to them by the client. (req.body.username and req.body.password).