summaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage/appinfo/webfinger.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/remoteStorage/appinfo/webfinger.php')
-rw-r--r--apps/remoteStorage/appinfo/webfinger.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/remoteStorage/appinfo/webfinger.php b/apps/remoteStorage/appinfo/webfinger.php
index 7c0ab846057..6403d3a6916 100644
--- a/apps/remoteStorage/appinfo/webfinger.php
+++ b/apps/remoteStorage/appinfo/webfinger.php
@@ -1,6 +1,8 @@
+<?php if(OC_User::userExists(WF_USER)) { ?>
<Link
rel="remoteStorage"
template="<?php echo WF_BASEURL; ?>/apps/remoteStorage/WebDAV.php/<?php echo WF_USER; ?>/remoteStorage/{category}/"
api="WebDAV"
auth="<?php echo WF_BASEURL; ?>/apps/remoteStorage/auth.php/<?php echo WF_USER; ?>">
</Link>
+<?php } ?>