Fixed password exposure
This commit is contained in:
parent
ff7a522f35
commit
3bc16b9cac
2 changed files with 3 additions and 2 deletions
|
|
@ -122,6 +122,7 @@ export default () => {
|
||||||
</Show>
|
</Show>
|
||||||
<h4>Password</h4>
|
<h4>Password</h4>
|
||||||
<Input
|
<Input
|
||||||
|
isPassword
|
||||||
value={password()}
|
value={password()}
|
||||||
onChange={setPassword}
|
onChange={setPassword}
|
||||||
onKeyDown={(event: KeyboardEvent) => {
|
onKeyDown={(event: KeyboardEvent) => {
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,7 @@ export default () => {
|
||||||
|
|
||||||
<Show when={allow() === 2}>
|
<Show when={allow() === 2}>
|
||||||
<h4>Password</h4>
|
<h4>Password</h4>
|
||||||
<Input value={password()} onChange={setPassword}></Input>
|
<Input isPassword value={password()} onChange={setPassword}></Input>
|
||||||
<h4>Upload Signature</h4>
|
<h4>Upload Signature</h4>
|
||||||
<FileField class="filefield" maxFiles={1} onFileAccept={(data) => setFile(data)} accept=".jpg, .jpeg, .png, .webp, .avif">
|
<FileField class="filefield" maxFiles={1} onFileAccept={(data) => setFile(data)} accept=".jpg, .jpeg, .png, .webp, .avif">
|
||||||
<FileField.Dropzone class="filefield__dropzone">Drag and drop or click to upload file</FileField.Dropzone>
|
<FileField.Dropzone class="filefield__dropzone">Drag and drop or click to upload file</FileField.Dropzone>
|
||||||
|
|
@ -242,7 +242,7 @@ export default () => {
|
||||||
<span class="approver-name">{APPROVERNAME}</span>
|
<span class="approver-name">{APPROVERNAME}</span>
|
||||||
|
|
||||||
<h4>Password</h4>
|
<h4>Password</h4>
|
||||||
<Input value={password()} onChange={setPassword}></Input>
|
<Input isPassword value={password()} onChange={setPassword}></Input>
|
||||||
|
|
||||||
<Show when={allow() === 2}>
|
<Show when={allow() === 2}>
|
||||||
<h4>Upload Signature</h4>
|
<h4>Upload Signature</h4>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue