mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-07 03:00:29 +00:00
fix(install): show AWS access key ID as plain input
The AWS access key ID is not a secret — swap its PasswordInput for a regular text input so operators can read and edit it directly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6d97de0d99
commit
b975a802dc
1 changed files with 8 additions and 4 deletions
|
|
@ -526,18 +526,22 @@ export default function InstallApp() {
|
|||
{objectStoreForm.credentialMode === "access_key" ? (
|
||||
<div className="space-y-5">
|
||||
<Field label="AWS access key ID">
|
||||
<PasswordInput
|
||||
inputRef={accessKeyIdInputRef}
|
||||
<input
|
||||
ref={accessKeyIdInputRef}
|
||||
id="aws_access_key_id"
|
||||
name="aws_access_key_id"
|
||||
value={objectStoreForm.accessKeyId}
|
||||
onChange={(value) =>
|
||||
onChange={(event) =>
|
||||
setObjectStoreForm((current) => ({
|
||||
...current,
|
||||
accessKeyId: value,
|
||||
accessKeyId: event.target.value,
|
||||
}))
|
||||
}
|
||||
className={`${INPUT_CLASS} font-mono`}
|
||||
placeholder="AKIA..."
|
||||
spellCheck={false}
|
||||
autoComplete="off"
|
||||
autoCapitalize="off"
|
||||
/>
|
||||
</Field>
|
||||
<Field label="AWS secret access key">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue