This commit is contained in:
Moe Poi ~ 2021-11-18 10:36:57 +07:00
parent 3d4ae3f4a7
commit be99488256

View file

@ -56,7 +56,7 @@ router.post('/register', async (req, res) => {
last_name: req.body.last_name,
email: req.body.email,
password: encryptedPassword,
session: [],
session: '[]',
};
conn.query("INSERT INTO users SET ?", users, function (error, response, fields) {
if (error) {