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

    CP with voucher code only

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 1 Posters 191 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
      soheil.amiri
      last edited by

      Hi dears
      how can i configure CP to show only Voucher code filed ?
      and i need a step by step guide to change CP login page.
      thanks

      1 Reply Last reply Reply Quote 0
      • S
        soheil.amiri
        last edited by

        hi
        thanks from Calvin Bui for this post, i found a way to create a login page that show only voucher filed.
        i change this particular code to :

        <div class="form-group">
                          <input name="auth_voucher" type="text" placeholder="Voucher" class="form-control">
                        </div>
                        <input name="auth_pass" type="text" class="hidden" value="password">
                        <input name="redirurl" type="hidden" value="captiveportal-success.html">
                        <input class="btn btn-lg btn-success btn-block" name="accept" type="submit" value="I Agree">
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.