Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1111 from monstermunchkin/hide-webhooks-password
Browse files Browse the repository at this point in the history
webhooks: hide passwords
  • Loading branch information
monstermunchkin authored Oct 26, 2016
2 parents 856d29b + 4ce590e commit 49485b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/webhooks/_detail.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
th Password
td
- if webhook.password.present?
= webhook.password
= '*' * 11
- else
' —
2 changes: 1 addition & 1 deletion app/views/webhooks/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.form-group
= f.label :password, {class: 'control-label col-md-2'}
.col-md-7
= f.text_field(:password, class: 'form-control', required: false, placeholder: "Password for authentication")
= f.password_field(:password, class: 'form-control', required: false, placeholder: "Password for authentication")
.form-group
.col-md-offset-2.col-md-7
= f.submit('Save', class: 'btn btn-primary')
Expand Down

0 comments on commit 49485b0

Please sign in to comment.