Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 790a1adecc4be0eadd51ac62819529c067431e39
Author: Adam Samalik <asamalik(a)redhat.com>
Date: Fri Jul 31 09:56:59 2015 +0200
Do not use email in contact automatically
This is a new function that might get unnoticed. In that case,
user's email would be exposed to public without their knowing.
So let's make it opt-in instead.
>---------------------------------------------------------------
frontend/coprs_frontend/coprs/forms.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/forms.py b/frontend/coprs_frontend/coprs/forms.py
index 7a50562..9cbd29c 100644
--- a/frontend/coprs_frontend/coprs/forms.py
+++ b/frontend/coprs_frontend/coprs/forms.py
@@ -167,7 +167,6 @@ class CoprFormFactory(object):
contact = wtforms.StringField(
"Contact",
- default=flask.g.user.mail,
validators=[
wtforms.validators.Optional(),
EmailOrURL()])