Skip to content

Commit

Permalink
Prevent sending large descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Feb 17, 2023
1 parent a6b58d3 commit 65db1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/views/webui/users/tokens/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.col-sm
.mb-3.ui-front
= f.label(:description, 'Description:')
= f.text_field(:description, class: 'form-control', placeholder: 'Eg: Rebuild vim package')
= f.text_field(:description, class: 'form-control', placeholder: 'Eg: Rebuild vim package', maxlength: 64)
.form-text.text-muted
Optional: provide a description to your token.

Expand Down

0 comments on commit 65db1d7

Please sign in to comment.