fix(mcp): change plaintext env input to type=text
All checks were successful
Test / rust-fmt-check (pull_request) Successful in 1m37s
Test / frontend-tests (pull_request) Successful in 1m31s
Test / frontend-typecheck (pull_request) Successful in 1m32s
Test / rust-clippy (pull_request) Successful in 3m30s
PR Review Automation / review (pull_request) Successful in 4m28s
Test / rust-tests (pull_request) Successful in 5m8s
All checks were successful
Test / rust-fmt-check (pull_request) Successful in 1m37s
Test / frontend-tests (pull_request) Successful in 1m31s
Test / frontend-typecheck (pull_request) Successful in 1m32s
Test / rust-clippy (pull_request) Successful in 3m30s
PR Review Automation / review (pull_request) Successful in 4m28s
Test / rust-tests (pull_request) Successful in 5m8s
Change plaintext_env input field from type='password' to type='text' since this field is explicitly for non-sensitive values (DEBUG, LOG_LEVEL, etc.). Using password type for plaintext config was misleading and prevented copy/paste of legitimate non-sensitive configuration. Only the encrypted_env and http_headers fields remain as type='password' for sensitive values like API keys and tokens.
This commit is contained in:
parent
a4d3442891
commit
82d7f350db
@ -562,7 +562,7 @@ export default function MCPServers() {
|
||||
Space-separated KEY=value pairs for non-sensitive values (e.g., DEBUG=1 LOG_LEVEL=info)
|
||||
</p>
|
||||
<Input
|
||||
type="password"
|
||||
type="text"
|
||||
value={form.plaintext_env}
|
||||
onChange={(e) => setForm({ ...form, plaintext_env: e.target.value })}
|
||||
placeholder="KEY1=value1 KEY2=value2"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user