proper test for use_logon_credentials

This commit is contained in:
Thomas Müller 2013-09-10 12:35:14 +02:00
parent 36e7a7c29b
commit d63ca25a94
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
} }
// take user and password from the session // 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'); $params = \OC::$session->get('irods-credentials');
$this->user = $params['uid']; $this->user = $params['uid'];