Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Help customizing CP login page

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 4.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stramato
      last edited by

      Hello, I'm using captive portal with pfsense. Currently, in Services > Captive Portal > [Portal page contents], I have uploaded an html file called "captiveportal-index.htm" with the following content:

      
      ## Please provide your credentials:
      
      | 
                              ![Logo](captiveportal-logo_h120.png)
                           | 
      
      | Username |  |
      | Password |  |
      |  | 
      
                                       |
      
                           |
      
      

      This works OK. But when the credentials are wrong, it redirects to the default pfSense captive portal page with the error message. What else should I do to edit the "invalid credentials" page to make sure it's consistent with the page that looks like the one i uploaded?

      Also, the logout page seems not to popup ever. I am on RC1 2.0 and I'm not sure if this is an issue, or because I have not uploaded anythnig on [Logout page contents]

      1 Reply Last reply Reply Quote 0
      • P
        Pontiac_CZ
        last edited by

        You probably want to upload your own error page in section "Authentication error page contents" (right below "Portal page contents"). That's what I did and my portal login and error pages are of the same style and look.

        Logout pop-up doesn't work, you're right. I guess it is a bug.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.