Skip to content

Commit

Permalink
Use password type for inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggorlen committed Jan 24, 2023
1 parent 3fad300 commit c80876e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions creator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,12 @@ <h1><a href="https://mprimi.github.io/portable-secret/">Portable Secret</a>: Sec
</div>

<div>
Password:<br>
<input type="text" id="password" value="banana" required>
<label>
Password:<br>
<input type="password" id="password" value="banana" required>
</label>
</div>


<div>
Password hint:<br>
<textarea rows="8" cols="80" id="password_hint" required>A yellow elongated fruit (technically a berry!)
Expand Down
2 changes: 1 addition & 1 deletion creator/secret-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h4>Password hint:</h4>

<div>
<h4>Password:</h4>
<input type="text" id="password" placeholder="See hint above" class="password_input" required>
<input type="password" id="password" placeholder="See hint above" class="password_input" required>
</div>

<div>
Expand Down

0 comments on commit c80876e

Please sign in to comment.