]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/captive/index.cgi
captive: Allow selecting the session expiry time for terms
[ipfire-2.x.git] / html / cgi-bin / captive / index.cgi
index 42fca67cb258142700ffce4c31bfd49c29b23e82..698384b6a5cac2b1938fd3d3c357c6f63284910b 100755 (executable)
@@ -112,8 +112,8 @@ if ($cgiparams{'ACTION'} eq "SUBMIT") {
 
        # License
        } else {
-               # Copy expiry time
-               $clientshash{$key}[3] = $settings{'EXPIRE'};
+               # Copy session expiry time
+               $clientshash{$key}[3] = $settings{'SESSION_TIME'} || "0";
 
                # No coupon code
                $clientshash{$key}[4] = "LICENSE";