aboutsummaryrefslogtreecommitdiffstats
path: root/include/apps.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-15 20:39:49 -0700
committerfriendica <info@friendica.com>2014-05-15 20:39:49 -0700
commit420540fc9444ec3273338ea7663e7903e9933414 (patch)
treef80c10430b68a6548ea323d825dea780f7721c38 /include/apps.php
parenta2b4187a083a16df788fa6feb196d64ec970d3c4 (diff)
downloadvolse-hubzilla-420540fc9444ec3273338ea7663e7903e9933414.tar.gz
volse-hubzilla-420540fc9444ec3273338ea7663e7903e9933414.tar.bz2
volse-hubzilla-420540fc9444ec3273338ea7663e7903e9933414.zip
login app
Diffstat (limited to 'include/apps.php')
-rw-r--r--include/apps.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apps.php b/include/apps.php
index 80fc0299b..733cb30cf 100644
--- a/include/apps.php
+++ b/include/apps.php
@@ -70,6 +70,10 @@ function parse_app_description($f) {
if(array_key_exists('requires',$ret)) {
$require = trim(strtolower($ret['requires']));
switch($require) {
+ case 'nologin':
+ if(local_user())
+ unset($ret);
+ break;
case 'local_user':
if(! local_user())
unset($ret);