]> source.dussan.org Git - nextcloud-server.git/commitdiff
proper test for use_logon_credentials
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 10 Sep 2013 10:35:14 +0000 (12:35 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 10 Sep 2013 10:35:14 +0000 (12:35 +0200)
apps/files_external/lib/irods.php

index 9b0c744980a04da82db637b727a19158d6b21fe0..6c7e5278ed05068fbb7a21fbdabc0645d4060cba 100644 (file)
@@ -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'];