aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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);