Skip to content

Commit

Permalink
Use display names for the ssl[verify] form param.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jul 4, 2024
1 parent 6dc8069 commit 0327005
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/network/http.erb
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@
<label class="has-text-weight-semibold">Verify:</label>
<select class="select" name="ssl[verify]">
<option value="">
<option value="none"<%= ' selected' if params[:verify] == 'none' %>>none</option>
<option value="peer"<%= ' selected' if params[:verify] == 'peer' %>>peer</option>
<option value="fail_if_no_peer_cert"<%= ' selected' if params[:verify] == 'fail_if_no_peer_cert' %>>fail_if_no_peer_cert</option>
<option value="none"<%= ' selected' if params[:verify] == 'none' %>>None</option>
<option value="peer"<%= ' selected' if params[:verify] == 'peer' %>>Peer</option>
<option value="fail_if_no_peer_cert"<%= ' selected' if params[:verify] == 'fail_if_no_peer_cert' %>>Fail if no peer cert</option>
</select>
</div>

Expand Down

0 comments on commit 0327005

Please sign in to comment.