svn: /web/php-bugs/trunk/www/ rpc.php
| From: | Jani Taskinen | Date: | Tue, 09 Mar 2010 13:52:56 +0000 |
| Subject: | svn: /web/php-bugs/trunk/www/ rpc.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-7530@lists.php.net to get a copy of this message | ||
jani Tue, 09 Mar 2010 13:52:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295996
Log:
ws
Changed paths:
U web/php-bugs/trunk/www/rpc.php
Modified: web/php-bugs/trunk/www/rpc.php
===================================================================
--- web/php-bugs/trunk/www/rpc.php 2010-03-09 12:52:32 UTC (rev 295995)
+++ web/php-bugs/trunk/www/rpc.php 2010-03-09 13:52:56 UTC (rev 295996)
@@ -11,19 +11,19 @@
require_once '../include/prepend.php';
if (isset($_POST['MAGIC_COOKIE'])) {
- list($user,$pwd) = explode(":", base64_decode($_POST['MAGIC_COOKIE']), 2);
+ list($user, $pwd) = explode(":", base64_decode($_POST['MAGIC_COOKIE']), 2);
$auth_user = new stdClass;
$auth_user->handle = $user;
$auth_user->password = $pwd;
} else {
- echo json_encode(array('result'=>array('error'=>'Missing
credentials')));
+ echo json_encode(array('result' => array('error' => 'Missing
credentials')));
exit;
}
bugs_authenticate($user, $pwd, $logged_in, $is_trusted_developer);
if (empty($auth_user->handle)) {
- echo json_encode(array('result'=>array('error'=>'Invalid user or
password')));
+ echo json_encode(array('result' => array('error' => 'Invalid user
or password')));
exit;
}