svn: /web/php-master/trunk/include/ login.inc
| From: | Hannes Magnusson | Date: | Wed, 23 Mar 2011 12:33:07 +0000 |
| Subject: | svn: /web/php-master/trunk/include/ login.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10708@lists.php.net to get a copy of this message | ||
bjori Wed, 23 Mar 2011 12:33:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309591
Log:
awesome typo
Changed paths:
U web/php-master/trunk/include/login.inc
Modified: web/php-master/trunk/include/login.inc
===================================================================
--- web/php-master/trunk/include/login.inc 2011-03-23 12:24:32 UTC (rev 309590)
+++ web/php-master/trunk/include/login.inc 2011-03-23 12:33:07 UTC (rev 309591)
@@ -11,7 +11,7 @@
if (isset($_POST["user"], $_POST["pw"])) {
list($user, $pw) = array($_POST['user'], $_POST['pw']);
} elseif (isset($_SESSION["credentials"])) {
- list($user, $pw) = $_SERVER["credentials"];
+ list($user, $pw) = $_SESSION["credentials"];
} elseif (isset($_COOKIE['MAGIC_COOKIE'])) {
list($user, $pw) = explode(":", base64_decode($_COOKIE['MAGIC_COOKIE']),
2);
}