svn: /web/php-bugs/trunk/include/ functions.php
| From: | Felipe Pena | Date: | Thu, 21 Apr 2011 15:56:27 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ functions.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10864@lists.php.net to get a copy of this message | ||
felipe Thu, 21 Apr 2011 15:56:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310427
Log:
- Fixed submitter authentication
Changed paths:
U web/php-bugs/trunk/include/functions.php
Modified: web/php-bugs/trunk/include/functions.php
===================================================================
--- web/php-bugs/trunk/include/functions.php 2011-04-21 15:49:42 UTC (rev 310426)
+++ web/php-bugs/trunk/include/functions.php 2011-04-21 15:56:27 UTC (rev 310427)
@@ -144,14 +144,14 @@
$pw = $_POST['pw'];
// FIXME: Remember password / user next time
- if (false && isset($_POST['save'])) { # non-developers don't have $user
set
+ //if (isset($_POST['save'])) { # non-developers don't have $user set
if (DEVBOX) {
$domain = null;
} else {
$domain = '.php.net';
}
- //setcookie(".....");
- }
+ $_SESSION["credentials"] = array(NULL, $pw);
+ //}
} elseif (isset($auth_user) && is_object($auth_user) && $auth_user->handle) {
$user = $auth_user->handle;
$pw = $auth_user->password;