Skip to content

Commit dd9730b

Browse files
committed
Return permissions string when authenticating SFTP
1 parent 0a19e9c commit dd9730b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Services/Sftp/AuthenticateUsingPasswordService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function handle(string $username, string $password, int $node, string $se
102102
return [
103103
'server' => $server->uuid,
104104
'token' => $this->keyProviderService->handle($server, $user),
105+
'permissions' => $permissions ?? ['*'],
105106
];
106107
}
107108
}

0 commit comments

Comments
 (0)