Problem with custom page



  • Hello, I have a problem with the custom HTML page for logging in to the internet.
    I built a simple page with only the field to type the voucher and the button log-in.
    If I enter the correct code the connection is established.
    If I make a mistake in the code instead of appearing my HTML page appears the default one of pfsense, thus creating confusion in those who have to connect to the network.
    Is something wrong with my page?
    Thank you

    Translated with www.DeepL.com/Translator



  • @ilarioQ said in Problem with custom page:

    If I make a mistake in the code instead of appearing my HTML page appears the default one of pfsense, thus creating confusion in those who have to connect to the network.

    If the code is wrong, it isn't the default login page that is re-show to you, but de default error page.

    This one :

    08e3f48a-d568-438a-a877-03be3aa7077a-image.png

    Practically, it's exactly the same page / file as the default login page, with on more line :

    				<p>This is the error message : $PORTAL_MESSAGE$.</p>
    


  • @Gertjan Thanks for your reply, I'll try to change the page, in case I can't write again.


Log in to reply