1.0.1 • Published 5 years ago
middleware_encriptar v1.0.1
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).