ispman/ispman-web/htdocs/admin index.cgi,1.14.2.2,1.14.2.3

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/htdocs/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32557

Modified Files:
      Tag: rel_1_1-bugfixes
	index.cgi 
Log Message:
fixed bug [ 986136 ] reseller/client login does not work


Index: index.cgi
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/htdocs/admin/index.cgi,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -u -d -r1.14.2.2 -r1.14.2.3
--- index.cgi	8 Jun 2004 19:31:59 -0000	1.14.2.2
+++ index.cgi	7 Jul 2004 18:45:33 -0000	1.14.2.3
@@ -112,13 +112,13 @@
       } else {
          # set the cookie and the session
          $session->param("dn", $dn);
+         $session->param("uid", $uid);
+         $session->param("logintype", $r->param("logintype"));
          my @attr=split(/\s*,\s*/ , CGI::unescape($dn));
          for (@attr){
             my ($var, $val)=split(/\s*=\s*/, $_);
             $session->param($var, $val);
          }
-         # disabled due to bug [940878]
-         #$session->save_param($r);
          print $r->redirect(-url => $ENV{'SCRIPT_NAME'}, -cookie=>$cookie);
       }
    } else {
@@ -150,17 +150,10 @@
    $session->param("sessID" , time );
    $session->param("logintype" , $r->param("logintype") );
    $session->param("language" , $r->param("language") );
-# disabled session save because
-# a) cookie expires at session end, so no need for saving the session
-# b) security breach! password is saved in clear
-#   $session->save_param($r);
 }
 
 if ($r->param("language")) {
    $session->param("language" , $r->param("language") );
-
-   # disabled due to bug [940878]
-   #$session->save_param($r);
 }
 
 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.