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

    Bug in Captive Portal voucher system

    2.1 Snapshot Feedback and Problems - RETIRED
    2
    2
    1.4k
    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.
    • H
      helixxx
      last edited by

      I'm posting this again since this is still not working in
      2.1-DEV, snapshot from Wed May 2 10:06:09 EDT 2012

      Description:
      When using captive portal with local user manager, any attempt to enter a voucher will result in "Invalid credentials specified". Doesn't matter if the voucher is valid or not.

      Fix:
      Add an isset() around the $config['voucher'][$cpzone]['enable'] in line 143 /usr/local/captiveportal/index.php

      like so:

      } else if (isset($config['voucher'][$cpzone]['enable']) && $_POST['accept'] && $_POST['auth_voucher']) {
      
      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        fixed, thanks

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