<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug in Captive Portal voucher system]]></title><description><![CDATA[<p dir="auto">I'm posting this again since this is still not working in<br />
<strong>2.1-DEV, snapshot from Wed May 2 10:06:09 EDT 2012</strong></p>
<p dir="auto">Description:<br />
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.</p>
<p dir="auto">Fix:<br />
Add an <em>isset()</em> around the <em>$config['voucher'][$cpzone]['enable']</em> in <strong>line 143 /usr/local/captiveportal/index.php</strong></p>
<p dir="auto">like so:</p>
<pre><code>} else if (isset($config['voucher'][$cpzone]['enable']) &amp;&amp; $_POST['accept'] &amp;&amp; $_POST['auth_voucher']) {
</code></pre>
]]></description><link>https://forum.netgate.com/topic/44692/bug-in-captive-portal-voucher-system</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 04:02:58 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/44692.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 May 2012 15:04:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug in Captive Portal voucher system on Sun, 06 May 2012 18:04:41 GMT]]></title><description><![CDATA[<p dir="auto">fixed, thanks</p>
]]></description><link>https://forum.netgate.com/post/334889</link><guid isPermaLink="true">https://forum.netgate.com/post/334889</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Sun, 06 May 2012 18:04:41 GMT</pubDate></item></channel></rss>