summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-10 12:35:14 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-10 12:35:14 +0200
commitd63ca25a946f2b520ae9f0f2cd498c7247f3522a (patch)
tree7b57f8b69c3b5d2a4cf4249664b3c9f66fbda36f /apps/files_external
parent36e7a7c29b1904db6fa9e34dd6ffc29ab7b0b561 (diff)
downloadnextcloud-server-d63ca25a946f2b520ae9f0f2cd498c7247f3522a.tar.gz
nextcloud-server-d63ca25a946f2b520ae9f0f2cd498c7247f3522a.zip
proper test for use_logon_credentials
Diffstat (limited to 'apps/files_external')
-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'];