This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.post('/create-account', (req, res) => { | |
| console.log(req.body) | |
| const username = req.body.username | |
| const confirmEmail = req.body.confirmEmail | |
| const email = req.body.email | |
| const confirmPassword = req.body.confirmPassword | |
| const password = req.body.password | |
| let query | |
| let request = SELECT user FROM User WHERE user = '${username}' |