diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-17 19:48:57 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-17 19:48:57 -0700 |
commit | 76558df9667b4900b4036faca0075985596b93cd (patch) | |
tree | 08b57c1159399db70af105ac93726000bf5fe36b /include/api.php | |
parent | dd72f580dd14e8745dd81bc056e1a73df1e8e563 (diff) | |
parent | ac3b886cc46bd9c634cce7b409f5bea7211382da (diff) | |
download | volse-hubzilla-76558df9667b4900b4036faca0075985596b93cd.tar.gz volse-hubzilla-76558df9667b4900b4036faca0075985596b93cd.tar.bz2 volse-hubzilla-76558df9667b4900b4036faca0075985596b93cd.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
include/bb2diaspora.php
include/diaspora.php
include/enotify.php
mod/admin.php
mod/cloud.php
mod/dav.php
mod/home.php
mod/invite.php
mod/like.php
mod/mitem.php
mod/p.php
mod/pubsites.php
mod/setup.php
mod/siteinfo.php
util/messages.po
Diffstat (limited to 'include/api.php')
-rw-r--r-- | include/api.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php index a99ec8c0d..73547a00d 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) { |