Return permissions string when authenticating SFTP
This commit is contained in:
parent
0a19e9c55d
commit
dd9730b5f8
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ class AuthenticateUsingPasswordService
|
||||||
return [
|
return [
|
||||||
'server' => $server->uuid,
|
'server' => $server->uuid,
|
||||||
'token' => $this->keyProviderService->handle($server, $user),
|
'token' => $this->keyProviderService->handle($server, $user),
|
||||||
|
'permissions' => $permissions ?? ['*'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue