diff --git a/apps/files_sharing/ajax/testremote.php b/apps/files_sharing/ajax/testremote.php
index 32e2f5548758f2bb4f0dc61192116d856203fd70..3d9092a034f4ff1ff23e1efef495907dc1792412 100644
--- a/apps/files_sharing/ajax/testremote.php
+++ b/apps/files_sharing/ajax/testremote.php
@@ -7,7 +7,6 @@
  */
 
 OCP\JSON::checkAppEnabled('files_sharing');
-OCP\JSON::checkLoggedIn();
 
 $remote = $_GET['remote'];