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(
|
let upid = WorkerTask::spawn(
|
||||||
"termproxy",
|
"termproxy",
|
||||||
None,
|
None,
|
||||||
&username,
|
&userid,
|
||||||
false,
|
false,
|
||||||
move |worker| async move {
|
move |worker| async move {
|
||||||
// move inside the worker so that it survives and does not close the port
|
// move inside the worker so that it survives and does not close the port
|
||||||
|
Loading…
Reference in New Issue
Block a user