Skip to content

Commit

Permalink
Merge pull request #13855 from danidoni/prevent-sending-large-token-d…
Browse files Browse the repository at this point in the history
…escriptions

Prevent sending large token descriptions
  • Loading branch information
hennevogel committed Feb 17, 2023
2 parents f6b60a9 + 65db1d7 commit 4caad1e
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 4caad1e

Please sign in to comment.