logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pearweb /public_html login.php: msg#00078

Subject: cvs: pearweb /public_html login.php
pajoye          Sat Feb 11 21:42:24 2006 UTC

  Modified files:              
    /pearweb/public_html        login.php 
  Log:
  - remove this check, force to enter user+pass twice
    what's the initial idea behind this check?...
  
  
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/login.php?r1=1.27&r2=1.28&diff_format=u
Index: pearweb/public_html/login.php
diff -u pearweb/public_html/login.php:1.27 pearweb/public_html/login.php:1.28
--- pearweb/public_html/login.php:1.27  Sun Oct  2 17:10:27 2005
+++ pearweb/public_html/login.php       Sat Feb 11 21:42:24 2006
@@ -15,7 +15,7 @@
    +----------------------------------------------------------------------+
    | Authors:                                                             |
    +----------------------------------------------------------------------+
-   $Id: login.php,v 1.27 2005/10/02 17:10:27 mj Exp $
+   $Id: login.php,v 1.28 2006/02/11 21:42:24 pajoye Exp $
 */
 
 /*
@@ -25,13 +25,6 @@
  */
 session_start();
 
-if (!isset($_COOKIE['PHPSESSID']) &&
-    ((strpos(@$_SERVER['HTTP_REFERER'], @$_GET['redirect']) !== false) ||
-     (isset($_POST['PEAR_USER']) && isset($_POST['PEAR_PW']))))
-{
-    auth_reject(PEAR_AUTH_REALM, 'Cookies must be enabled to log in.');
-}
-
 /*
  * If they're already logged in, say so.
  */

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>