aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-01 20:12:52 -0700
committerredmatrix <git@macgirvin.com>2016-08-01 20:12:52 -0700
commit3a7d3e3a542ef9297a8a20e3548f01f43fb37f0e (patch)
tree6407606ded7a75412ed888a80693f3774e63c875 /include/auth.php
parent4c76b31684342259a43c036373f3757a916b1d3a (diff)
downloadvolse-hubzilla-3a7d3e3a542ef9297a8a20e3548f01f43fb37f0e.tar.gz
volse-hubzilla-3a7d3e3a542ef9297a8a20e3548f01f43fb37f0e.tar.bz2
volse-hubzilla-3a7d3e3a542ef9297a8a20e3548f01f43fb37f0e.zip
This checkin should make all permission modes work correctly with atokens (they should be able to post content if allowed to). It also removes the strict linkage between permissions and connections so any individual permission can be set for any xchan; even those for which you have no connections.
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php
index f3592cee3..fdcecec36 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -57,6 +57,7 @@ function account_verify_password($login, $pass) {
);
if($x) {
$ret['xchan'] = atoken_xchan($x[0]);
+ atoken_create_xchan($ret['xchan']);
return $ret;
}
}