mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
SQL thingy fix, oops
This commit is contained in:
@@ -392,7 +392,9 @@ function GetApp() {
|
||||
|
||||
app.post('/login', (req, res) => {
|
||||
logger.LogReq(req)
|
||||
const pw = req.body.pw || false
|
||||
const pw = req.body.pw
|
||||
? req.body.pw.replace("'", '').replace('"', '')
|
||||
: false
|
||||
const cid = req.body.cid
|
||||
const isScript = req.body.script
|
||||
const ip = req.headers['cf-connecting-ip'] || req.connection.remoteAddress
|
||||
|
Reference in New Issue
Block a user