fix(windows-rdp): parse username and password values in patch file
- Updated the `value` fields for `CODER_USERNAME` and `CODER_PASSWORD` to use `JSON.parse` for proper handling of JSON strings.
This commit is contained in:
parent
02b5ae42f1
commit
5ca7450349
@ -59,7 +59,7 @@ const formFieldEntries = {
|
||||
querySelector: "web-client-username-control input",
|
||||
|
||||
/** @readonly */
|
||||
value: "${CODER_USERNAME}",
|
||||
value: JSON.parse("${CODER_USERNAME}"),
|
||||
},
|
||||
|
||||
/** @readonly */
|
||||
@ -68,7 +68,7 @@ const formFieldEntries = {
|
||||
querySelector: "web-client-password-control input",
|
||||
|
||||
/** @readonly */
|
||||
value: "${CODER_PASSWORD}",
|
||||
value: JSON.parse("${CODER_PASSWORD}"),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user