Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Captive Portal: Issues, User logout not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: Captive Portal: Issues, User logout not working (Read 569 times)
vivekmauli14
Newbie
Posts: 44
Karma: 0
Captive Portal: Issues, User logout not working
«
on:
August 05, 2024, 10:17:19 am »
Hi,
recently I upgraded my opnsense 24.1 firewall to 24.7, few issues I noticed while using the Captive portal are:
1. The user is logged in after submitting the form, though you must refresh the page manually. Otherwise, you wont see the logged-in user and logout button
2. Logout button not working. When I tried to logout the user from the UI of <IP>:8000, The logout button doesn't work. User sessions remains continue.
Am I the only one facing these issues? Looking for a resolution.
Thanks,
Vivek
«
Last Edit: August 05, 2024, 01:47:57 pm by vivekmauli14
»
Logged
kfaehnders
Newbie
Posts: 1
Karma: 0
Re: Captive Portal: Issues, User logout not working
«
Reply #1 on:
August 07, 2024, 10:56:46 am »
Moin,
ich habe das gleiche Problem.
Im JSON Objekt steht die richtige IP-Adresse zur der Session + ClientState = "unknown".
Im default Template geht es bei mir ebenfalls nicht mehr mit der neuen Version.
Ich befürchte hier gibt es Probleme mit der PHP Funktion.
Falls jemand eine Lösung kennt, dann wäre ich auch interessiert.
Logged
vivekmauli14
Newbie
Posts: 44
Karma: 0
Re: Captive Portal: Issues, User logout not working
«
Reply #2 on:
August 07, 2024, 08:56:24 pm »
Hi there,
I was debugging the problem from the backend and found some issues that, the actions.d commands for captive portal, particularly the disconnect command which runs with configdprun, has mismatched parameter values
So you can debug and solve the disconnect parameters in actions.d or you can just remove the zoneid from the configdprun of accesscontroller of captive portal API.
here
https://github.com/opnsense/core/pulls/7740
Be careful though, I haven't tested it with multiple zones.
cheers,
VivekSP
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Captive Portal: Issues, User logout not working
«
Reply #3 on:
August 08, 2024, 09:21:09 am »
Thanks a lot, we'll ship this in 24.7.1 today.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Captive Portal: Issues, User logout not working