Skip to content

Commit 4f15ddd

Browse files
authored
Merge pull request #61622 from oblivioncth/bugfix/external-files-smb-auth
fix(files_external/SMB): Use 'null' explicitly for no workgroup
2 parents 188d7f6 + c401458 commit 4f15ddd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/files_external/lib/Lib/Backend

apps/files_external/lib/Lib/Backend/SMB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function manipulateStorageConfig(StorageConfig &$storage, ?IUser $user =
7070

7171
$smbAuth = new BasicAuth(
7272
$storage->getBackendOption('user'),
73-
$storage->getBackendOption('domain'),
73+
$storage->getBackendOption('domain') ?: null,
7474
$storage->getBackendOption('password')
7575
);
7676
} else {

0 commit comments

Comments
 (0)