Skip to content

Commit

Permalink
Validation fixes
Browse files Browse the repository at this point in the history
The True is not needed with required
  • Loading branch information
KarolisJasad authored Feb 15, 2024
1 parent 852d360 commit 533f4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/check_domain.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h5 class="card-title">{% trans %}Check domain{% endtrans %}</h5>
<form action="{{ url_for('check_domain_scan_post') }}" method="POST" class="card-text">
<div class="form-group">
<label for="domain-input">{% trans %}Domain{% endtrans %}</label>
<input name="domain" type="text" autocomplete="off" class="form-control" id="domain-input" aria-describedby="domain-info" required="true">
<input name="domain" type="text" autocomplete="off" class="form-control" id="domain-input" aria-describedby="domain-info" required>
<small id="domain-info" class="form-text text-muted">
{% trans %}Don't put the entire e-mail address here, only the part after "@"{% endtrans %}
</small>
Expand Down

0 comments on commit 533f4a6

Please sign in to comment.