mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-19 14:40:53 +08:00
Merge pull request #7 from BaaRai/fix/credential-username-placeholder
Clarify credentials username placeholder
This commit is contained in:
@@ -144,7 +144,7 @@ export function CredentialsTab({ taskId }: { taskId: string }) {
|
||||
)}
|
||||
<div className="grid gap-2 sm:grid-cols-[1fr_1fr_1fr_auto]">
|
||||
<Input placeholder="domain (e.g. target.example.com)" value={domain} onChange={(e) => setDomain(e.target.value)} />
|
||||
<Input placeholder="username" value={username} onChange={(e) => setUsername(e.target.value)} />
|
||||
<Input placeholder="email or username" value={username} onChange={(e) => setUsername(e.target.value)} />
|
||||
<Input
|
||||
placeholder="password (empty = agent generates)"
|
||||
type="text"
|
||||
|
||||
@@ -3346,7 +3346,7 @@ function CreateTaskSheet({
|
||||
onChange={(e) => setCredentials((prev) => prev.map((x, j) => (j === i ? { ...x, domain: e.target.value } : x)))}
|
||||
/>
|
||||
<Input
|
||||
placeholder="username"
|
||||
placeholder="email or username"
|
||||
value={c.username}
|
||||
onChange={(e) => setCredentials((prev) => prev.map((x, j) => (j === i ? { ...x, username: e.target.value } : x)))}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user