Skip to content

Commit

Permalink
reintroduce password type to auth inputs (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
sserrata authored Dec 9, 2024
1 parent 1bd7b94 commit 3b9509a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function Authorization() {
<FormItem label="Bearer Token" key={a.key + "-bearer"}>
<FormTextInput
placeholder="Bearer Token"
password
value={data[a.key].token ?? ""}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
const value = e.target.value;
Expand All @@ -69,6 +70,7 @@ function Authorization() {
<FormItem label="Bearer Token" key={a.key + "-oauth2"}>
<FormTextInput
placeholder="Bearer Token"
password
value={data[a.key].token ?? ""}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
const value = e.target.value;
Expand Down Expand Up @@ -130,6 +132,7 @@ function Authorization() {
<FormItem label={`${a.key}`} key={a.key + "-apikey"}>
<FormTextInput
placeholder={`${a.key}`}
password
value={data[a.key].apiKey ?? ""}
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
const value = e.target.value;
Expand Down

0 comments on commit 3b9509a

Please sign in to comment.