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

    Self User Registration in captiveportal

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.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.
    • A
      androhit
      last edited by

      I have installed pfSense successfully and added captive portal for LAN.

      I wanted to add the users from my login page too.
      Some kind of sign up page which will directly add that user to the User Manager and login directly.

      Can anyone plz guide me to build this functionality in php or html

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        @androhit:

        Can anyone plz guide me to build this functionality in php or html

        'html' (or even php if you which) is need to make your own login page, the one you upload here : Services => Captive Portal => [YOUR ZONE] => Configuration.

        Then, have a look at /usr/local/captiveportal/index.php : the file that uses your upload 'htmlt' file.
        And, as you can see in this "/usr/local/captiveportal/index.php", this file will tell you everything : /etc/inc/captiveportal.inc - that's will be be the place where  you 'interface' with the "Local user manager".

        So, two things : you should definitely know something about php, so you can read how things are done, and you will wind up having the knowledge to be able to  change the current system to something that needs YOUR typical needs.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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