aboutsummaryrefslogtreecommitdiffstats
path: root/include/auth.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-18 20:59:25 -0800
committerfriendica <info@friendica.com>2014-02-18 20:59:25 -0800
commit24d119b8c4e94ed130577e4e4a8d17ea13c406ac (patch)
tree96327bd990038c66f0e644c505522cb424a1bbd0 /include/auth.php
parent6ac81c936077caa7167ddc3a2eb3c1022826d5d9 (diff)
downloadvolse-hubzilla-24d119b8c4e94ed130577e4e4a8d17ea13c406ac.tar.gz
volse-hubzilla-24d119b8c4e94ed130577e4e4a8d17ea13c406ac.tar.bz2
volse-hubzilla-24d119b8c4e94ed130577e4e4a8d17ea13c406ac.zip
introduce a new privacy level "PERMS_AUTHED" to indicate somebody that is able to successfully authenticate (but is not necessarily in this network).
Diffstat (limited to 'include/auth.php')
-rw-r--r--include/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php
index 425715014..a3b028c73 100644
--- a/include/auth.php
+++ b/include/auth.php
@@ -93,7 +93,7 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p
}
}
- $r = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash where hubloc_hash = '%s' limit 1",
+ $r = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where xchan_hash = '%s' limit 1",
dbesc($_SESSION['visitor_id'])
);
if($r) {