mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Captive-Portal: fix voucher form
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
6d31cfdd58
commit
facfdcd040
@@ -122,7 +122,6 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'Captive activate'}"){
|
||||
}
|
||||
|
||||
if($redir == 1){
|
||||
sleep(4);
|
||||
print "Status: 302 Moved Temporarily\n";
|
||||
print "Location: $url\n";
|
||||
print "Connection: close\n";
|
||||
@@ -212,7 +211,7 @@ print<<END
|
||||
<b>$Lang::tr{'Captive voucher'}</b> <input type='text' maxlength="8" size='10' style="font-size: 24px;font-weight: bold;" name='VOUCHER'>
|
||||
</td>
|
||||
<td>
|
||||
<input type='submit' name='ACTION' value="$Lang::tr{'Captive activate'}"/>
|
||||
<input type='hidden' name='redirect' value ='$url'><input type='submit' name='ACTION' value="$Lang::tr{'Captive activate'}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user