Prevent empty email from field (#1906)

This commit is contained in:
Ozzie Isaacs 2021-03-27 18:31:49 +01:00
parent e35748deff
commit c418c7e725

View File

@ -33,7 +33,7 @@
</div>
<div class="form-group">
<label for="mail_from">{{_('From E-mail')}}</label>
<input type="text" class="form-control" name="mail_from" id="mail_from" value="{{content.mail_from}}">
<input type="text" class="form-control" name="mail_from" id="mail_from" value="{{content.mail_from}}" required>
</div>
<label for="mail_size">{{_('Attachment Size Limit')}}</label>
<div class="form-group input-group">