phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] [19000] Fix for the new api


From: Caeies
Subject: [Phpgroupware-cvs] [19000] Fix for the new api
Date: Wed, 19 Nov 2008 18:04:24 +0000

Revision: 19000
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19000
Author:   Caeies
Date:     2008-11-19 18:04:24 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
Fix for the new api

Modified Paths:
--------------
    core/trunk/login.php

Modified: core/trunk/login.php
===================================================================
--- core/trunk/login.php        2008-11-19 18:03:39 UTC (rev 18999)
+++ core/trunk/login.php        2008-11-19 18:04:24 UTC (rev 19000)
@@ -120,8 +120,12 @@
                        $login .= '@' . $_POST['logindomain'];
                }
 
+               //XXX Caeies nov 08 The third argument is wrong so change the 
code
+               /*
                $passwd_type = $_POST['passwd_type'] == 'md5' ? 'md5' : 'text';
                $GLOBALS['sessionid'] = 
$GLOBALS['phpgw']->session->create($login, $passwd, $passwd_type);
+               */
+               $GLOBALS['sessionid'] = 
$GLOBALS['phpgw']->session->create($login, $passwd, false);
 
                if (! isset($GLOBALS['sessionid']) || ! $GLOBALS['sessionid'])
                {






reply via email to

[Prev in Thread] Current Thread [Next in Thread]