Always redirect somewhere on captive success, instead of displaying an empty page

This commit is contained in:
Alfredo Cardigliano 2023-10-23 16:27:46 +02:00
parent 181f8a8178
commit 2a37337a9c
2 changed files with 11 additions and 3 deletions

View file

@ -7,6 +7,8 @@ package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
-- Logout page for nEdge Captive Portal users
local captive_portal_utils = require("captive_portal_utils")
if not ntop.isnEdge() then