Custom log out scripts
-
so…i looked around for awhile and couldnt find any logout pages so heres one i modded from the origonal script. hope you all like it.
<title>Redirecting...</title> **Redirecting to [](<?=$my_redirurl;?>)...** ```![logout.png](/public/_imported_attachments_/1/logout.png) ![logout.png_thumb](/public/_imported_attachments_/1/logout.png_thumb)
-
Hi tech1,
I faced the same problem as you did. Thanks for the clue.
How to apply this script?
Thanks…
-
How to apply this script?
Save the Code, customize it…
Then open your Captive Portal Settings, go down (until the End of the first Tag until you see the Logout page contents) now choose the File and Save your Settings.
That should do it :)Have Fun!
-
ok, thanks.
2 questions:
1. what should be in $my_redirurl?
2. what URL will this page have? I want that users be able manually to get to this page when they need to logout… -
ok, thanks.
2 questions:
1. what should be in $my_redirurl?
2. what URL will this page have? I want that users be able manually to get to this page when they need to logout…PfSense fills the $my_redirurl variable
The user can't access this URL directly. Search the forum, you have to do a bit more to get that working