use username, not passed loginname, might differ
This commit is contained in:
parent
6d7ae463df
commit
4466e06e7d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class OC_Connector_Sabre_Auth extends Sabre_DAV_Auth_Backend_AbstractBasic {
|
|||
*/
|
||||
protected function validateUserPass($username, $password) {
|
||||
if (OC_User::isLoggedIn()) {
|
||||
OC_Util::setupFS($username);
|
||||
OC_Util::setupFS(OC_User::getUser());
|
||||
return true;
|
||||
} else {
|
||||
OC_Util::setUpFS();//login hooks may need early access to the filesystem
|
||||
|
|
Loading…
Reference in a new issue