mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-11 15:51:19 +00:00
Limit project name to 60 characters to prevent abuse
This commit is contained in:
parent
f131123e0e
commit
b63f3bed8e
2 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,7 @@ class RemoveTeamMemberForm(forms.Form):
|
|||
|
||||
|
||||
class ProjectNameForm(forms.Form):
|
||||
name = forms.CharField(max_length=200, required=True)
|
||||
name = forms.CharField(max_length=60, required=True)
|
||||
|
||||
|
||||
class TransferForm(forms.Form):
|
||||
|
|
|
@ -403,6 +403,7 @@
|
|||
class="form-control"
|
||||
id="project-name"
|
||||
name="name"
|
||||
maxlength="60"
|
||||
value="{{ project }}">
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue