mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-14 18:36:20 +01:00
Fix register bug
This commit is contained in:
parent
02773d78a5
commit
d8c8d88df9
1 changed files with 5 additions and 4 deletions
|
@ -88,12 +88,13 @@ router.post('/register', async (req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
'message': 'Bad Request'
|
'message': 'Bad Request'
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
res.status(200);
|
||||||
|
res.json({
|
||||||
|
'message': 'Register Verification Sent ~'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
res.status(200);
|
|
||||||
res.json({
|
|
||||||
'message': 'Register Verification Sent ~'
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
res.status(400);
|
res.status(400);
|
||||||
res.json({
|
res.json({
|
||||||
|
|
Loading…
Reference in a new issue