mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-21 22:06:26 +01:00
Fix typo
This commit is contained in:
parent
3d4ae3f4a7
commit
be99488256
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue