mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Auth exception fix
This commit is contained in:
parent
658840bd84
commit
4611ba6542
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ module.exports = function (options) {
|
|||
if (!sessionID) {
|
||||
if (isException) {
|
||||
logger.DebugLog(`EXCEPTION: ${req.url}`, 'auth', 1)
|
||||
req.session = { isException: true }
|
||||
next()
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue