Is logout without popup possible?
-
-
@gertjan said in Is logout without popup possible?:
Using version 2.5.2 :
with this unchecked, there is no pupup.
As I already wrote previously, if that checkbox is disabled, the possibility of logging out is disabled.
So the ideal solution would be a way to disable the logout popup window without disabling the logout HTTP POST.
-
Sorry, you're right, I wasn't looking what I previously wrote.
There is no 'click here' solution for your question.
You have to edit the code, as I said ... also above : just remove the part of the html that is responsible for the creation of the logout popup box (didn't test this myself). -
@gertjan Are you involved with the pfsense development?
Do you know if the maintainers would be interested in a patch to solve this?
-
@nemesisdev Always. redmine.pfsense.org and github.com/pfsense
-
@derelict thanks, BTW redmine links this page: https://www.netgate.com/docs/pfsense/development/bug-reporting.html which returns 404.
I created the issue on redmine: https://redmine.pfsense.org/issues/12138.
-
@nemesisdev Discussion regarding best ways to accomplish it should be done here on the forum. Redmine is not a platform for discussion.
-
@nemesisdev said in Is logout without popup possible?:
@gertjan Are you involved with the pfsense development?
No way, just a severally addicted consumer.
I think I understand how it works, what it does to make things happen. I'm able of tearing it apart, and break things completely.
Just ones in a while I find something small that fixes something even smaller.The captive portal is special for me as I need it.
It's a marvelous peace of work and a coding nightmare, should probably be rewritten from the ground up (not using PHP I guess).
But it works - for me. -
This is actually a bug and not intended. It worked in the past but some recent portal changes may have unintentionally caused the change in behavior.
You should always be able to manually go back to the portal page at
<http or https>://<ip address or hostname>:<port number>/index.php?zone=<zonename>
and clickLogout
even when the popup is disabled.When the popup is disabled, going back to that URL displays a logout button but clicking it returns a "you are connected" message and does not disconnect the user.
It works as expected when the logout popup is enabled.
I updated the Redmine issue at https://redmine.pfsense.org/issues/12138 to reflect this.
-
@jimp thanks for the update, I'm relieved to know that, since the way it works now looked pretty weird.