diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-25 22:50:36 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-25 22:50:36 -0700 |
commit | 06eae98e53e7ac781a64eff4a85e793969124ad7 (patch) | |
tree | f12a3491533d517ad406a7a3ac8b31b4e12db7c9 /include/api.php | |
parent | 1780ebafd36861023f5e79a4ae387544f37d675d (diff) | |
download | volse-hubzilla-06eae98e53e7ac781a64eff4a85e793969124ad7.tar.gz volse-hubzilla-06eae98e53e7ac781a64eff4a85e793969124ad7.tar.bz2 volse-hubzilla-06eae98e53e7ac781a64eff4a85e793969124ad7.zip |
placeholder for dynamic rego
Diffstat (limited to 'include/api.php')
-rw-r--r-- | include/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api.php b/include/api.php index fa4910833..cf0086c35 100644 --- a/include/api.php +++ b/include/api.php @@ -439,8 +439,8 @@ require_once('include/items.php'); // This currently isn't providing the correct authentication flow. - if(! api_user()) - return false; + if(! local_channel()) + goaway(z_root() . '/login'); $ret = array(); $key = random_string(16); |