aboutsummaryrefslogtreecommitdiffstats
path: root/include/api_auth.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-25 13:27:17 -0700
committerredmatrix <git@macgirvin.com>2016-07-25 13:27:17 -0700
commit2fb49521379cdaf743e3e3eb717e5df6ef39a8a3 (patch)
treeda3b5de56269cef0e72acfb5338b37aad28696c5 /include/api_auth.php
parent0f5f1c98cae1becdbd303a85005fd5381eefe1b0 (diff)
downloadvolse-hubzilla-2fb49521379cdaf743e3e3eb717e5df6ef39a8a3.tar.gz
volse-hubzilla-2fb49521379cdaf743e3e3eb717e5df6ef39a8a3.tar.bz2
volse-hubzilla-2fb49521379cdaf743e3e3eb717e5df6ef39a8a3.zip
issue #460
Diffstat (limited to 'include/api_auth.php')
-rw-r--r--include/api_auth.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/api_auth.php b/include/api_auth.php
index 7a71bad73..e5cd7cab3 100644
--- a/include/api_auth.php
+++ b/include/api_auth.php
@@ -64,8 +64,10 @@ function api_login(&$a){
}
}
+
+
if($record['account']) {
- authenticate_success($record);
+ authenticate_success($record['account']);
if($channel_login)
change_channel($channel_login);