mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added favicon to exceptions from auth in api
This commit is contained in:
parent
8b60ba764f
commit
b5f9ede2cf
1 changed files with 1 additions and 3 deletions
|
@ -75,7 +75,7 @@ app.use(auth({
|
|||
authDB: authDB,
|
||||
jsonResponse: true,
|
||||
exceptions: [
|
||||
'favicon',
|
||||
'/favicon.ico',
|
||||
'/login',
|
||||
'/getveteranpw'
|
||||
]
|
||||
|
@ -146,8 +146,6 @@ app.post('/getpw', function (req, res) {
|
|||
|
||||
logger.Log(`User #${requestingUser.id} creted new user #${insertRes.lastInsertRowid}`, logger.GetColor('cyan'))
|
||||
|
||||
console.log(requestingUser)
|
||||
|
||||
res.json({
|
||||
result: 'success',
|
||||
pw: pw,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue