api2/node/termproxy: fix user in worker task
'username' here is without realm, but we really want to use user@realm Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
1fc82c41f2
commit
f39a900722
@ -136,7 +136,7 @@ async fn termproxy(
|
||||
let upid = WorkerTask::spawn(
|
||||
"termproxy",
|
||||
None,
|
||||
&username,
|
||||
&userid,
|
||||
false,
|
||||
move |worker| async move {
|
||||
// move inside the worker so that it survives and does not close the port
|
||||
|
Loading…
Reference in New Issue
Block a user