From 6bfc36de3a3517fc4fe045e05795efcede38b5a7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 06 2015 15:59:52 +0000 Subject: Make the mail_to field optional as otherwise we cannot reset it --- diff --git a/progit/hooks/mail.py b/progit/hooks/mail.py index 6d6137d..125d96e 100644 --- a/progit/hooks/mail.py +++ b/progit/hooks/mail.py @@ -49,7 +49,7 @@ class MailTable(BASE): class MailForm(wtf.Form): ''' Form to configure the mail hook. ''' mail_to = wtforms.TextField( - 'Mail to *', + 'Mail to', [wtforms.validators.Optional()] ) active = wtforms.BooleanField(