Skip to content
Snippets Groups Projects
Commit f4aba176 authored by Lucas Gabriel Lima's avatar Lucas Gabriel Lima
Browse files

small fix on signup route

parent e74b5e6a
No related branches found
No related tags found
1 merge request!20Auth
Pipeline #
......@@ -5,7 +5,7 @@ const signupApp = express();
const libs = `${process.cwd()}/libs`;
signupApp.post('/signup', function(req, res) {
signupApp.post('/', function(req, res) {
if (!req.body.email || !req.body.password) {
res.json({success: false, msg: 'Please pass email and password.'});
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment