forked from GithubBackups/healthchecks
Limit project name to 60 characters to prevent abuse
This commit is contained in:
parent
f131123e0e
commit
b63f3bed8e
@ -103,7 +103,7 @@ class RemoveTeamMemberForm(forms.Form):
|
|||||||
|
|
||||||
|
|
||||||
class ProjectNameForm(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):
|
class TransferForm(forms.Form):
|
||||||
|
@ -403,6 +403,7 @@
|
|||||||
class="form-control"
|
class="form-control"
|
||||||
id="project-name"
|
id="project-name"
|
||||||
name="name"
|
name="name"
|
||||||
|
maxlength="60"
|
||||||
value="{{ project }}">
|
value="{{ project }}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user