aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-17 19:49:36 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-17 19:49:36 -0700
commit7c7a5cba8fe6fd6dc15acc14954d9ba9ed632c00 (patch)
treed88838524fa5f6cbf1d072da73eddafd4b752ffb /include/api.php
parentf0cb3cba124e637fa46143b692dbb561d4ee3ae0 (diff)
parent76558df9667b4900b4036faca0075985596b93cd (diff)
downloadvolse-hubzilla-7c7a5cba8fe6fd6dc15acc14954d9ba9ed632c00.tar.gz
volse-hubzilla-7c7a5cba8fe6fd6dc15acc14954d9ba9ed632c00.tar.bz2
volse-hubzilla-7c7a5cba8fe6fd6dc15acc14954d9ba9ed632c00.zip
Merge branch 'master' into tres
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 01518bea8..e94266762 100644
--- a/include/api.php
+++ b/include/api.php
@@ -78,11 +78,14 @@ require_once('include/items.php');
// list($consumer,$token) = $oauth->verify_request(OAuthRequest::from_request());
if (!is_null($token)){
$oauth->loginUser($token->uid);
+
+ $a->set_oauth_key($consumer->key);
+
call_hooks('logged_in', $a->user);
return;
}
echo __file__.__line__.__function__."<pre>";
- var_dump($consumer, $token);
+// var_dump($consumer, $token);
die();
}
catch(Exception $e) {