remove debugging, RT#26690
authorIvan Kohler <ivan@freeside.biz>
Wed, 12 Feb 2014 23:34:17 +0000 (15:34 -0800)
committerIvan Kohler <ivan@freeside.biz>
Wed, 12 Feb 2014 23:34:17 +0000 (15:34 -0800)
fs_selfservice/FS-SelfService/cgi/selfservice.cgi

index 84998bb..f62f1a5 100755 (executable)
@@ -101,8 +101,6 @@ if ( $cgi->param('action') =~ /^(\w+)$/ ) {
   }
 }
 
-warn $action;
-
 unless ( $nologin_actions{$action} ) {
 
   my %cookies = CGI::Cookie->fetch;
@@ -1061,7 +1059,7 @@ sub do_template {
   $fill_in->{$_} = $access_info->{$_} foreach keys %$access_info;
 
   # update the user's authentication
-  my $timeout = $access_info->{'timeout'} || '60';
+  my $timeout = $access_info->{'timeout'} || '3600';
   my $cookie = CGI::Cookie->new('-name'     => 'session',
                                 '-value'    => $session_id,
                                 '-expires'  => '+'.$timeout.'s',