zengyicheng 1 year ago
parent
commit
fd1b45b53f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ssti.js

+ 1 - 1
ssti.js

@@ -652,7 +652,7 @@ router.post('/userLogin', (req, res) => {
             })
         } else {
             //数据库有数据
-            res.end(JSON.stringify({...ret[0][0], remoteUser }));
+            res.end(JSON.stringify([...ret[0][0], remoteUser]));
         }
 
     });