Hide secret code from input history (#9032)
Currently, the secret code will show up in the input history. That, I think, means that anyone that can open that page in a shared browser instance could join the org.
This commit is contained in:
parent
ec71478762
commit
e364a6ad19
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<div class="crayons-field mb-6">
|
||||
<%= label_tag :org_secret, "Secret code", class: "crayons-field__label" %>
|
||||
<p class="crayons-field__description">Provided to you by an org admin</p>
|
||||
<%= text_field_tag :org_secret, nil, placeholder: "...", class: "crayons-textfield" %>
|
||||
<%= text_field_tag :org_secret, nil, placeholder: "...", class: "crayons-textfield", autocomplete: "off" %>
|
||||
</div>
|
||||
|
||||
<button class="crayons-btn" type="submit">Join Organization</button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue