summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/irods.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php
index 9b0c744980a..6c7e5278ed0 100644
--- a/apps/files_external/lib/irods.php
+++ b/apps/files_external/lib/irods.php
@@ -42,7 +42,7 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
}
// take user and password from the session
- if ($this->use_logon_credentials && \OC::$session->exists('irods-credentials'))
+ if ($this->use_logon_credentials === "true" && \OC::$session->exists('irods-credentials'))
{
$params = \OC::$session->get('irods-credentials');
$this->user = $params['uid'];