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:
@@ -35,6 +35,7 @@ module.exports = function (options) {
|
|||||||
if (!sessionID) {
|
if (!sessionID) {
|
||||||
if (isException) {
|
if (isException) {
|
||||||
logger.DebugLog(`EXCEPTION: ${req.url}`, 'auth', 1)
|
logger.DebugLog(`EXCEPTION: ${req.url}`, 'auth', 1)
|
||||||
|
req.session = { isException: true }
|
||||||
next()
|
next()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user