mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-31 03:07:53 +08:00
Convert secret value to password field (#1921)
This commit is contained in:
parent
5feac07d0e
commit
7ff4b640f6
2 changed files with 2 additions and 2 deletions
lib/livebook_web/live
|
@ -46,7 +46,7 @@ defmodule LivebookWeb.Hub.SecretFormComponent do
|
|||
phx-debounce
|
||||
class="uppercase"
|
||||
/>
|
||||
<.text_field
|
||||
<.password_field
|
||||
field={f[:value]}
|
||||
label="Value"
|
||||
autofocus={@secret_name != nil}
|
||||
|
|
|
@ -109,7 +109,7 @@ defmodule LivebookWeb.SessionLive.SecretsComponent do
|
|||
phx-debounce
|
||||
class="uppercase"
|
||||
/>
|
||||
<.text_field
|
||||
<.password_field
|
||||
field={f[:value]}
|
||||
label="Value"
|
||||
autofocus={@prefill_secret_name != nil}
|
||||
|
|
Loading…
Reference in a new issue