Commit dda21cdee9d7aa6664b199672ec78775229f852c

Authored by Adabriand Furtado
1 parent 37d08956
Exists in master

Changed the default value of privacy_mode to false

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
pybossa/model/user.py
@@ -49,7 +49,7 @@ class User(db.Model, DomainObject, UserMixin): @@ -49,7 +49,7 @@ class User(db.Model, DomainObject, UserMixin):
49 passwd_hash = Column(Unicode(length=254), unique=True) 49 passwd_hash = Column(Unicode(length=254), unique=True)
50 admin = Column(Boolean, default=False) 50 admin = Column(Boolean, default=False)
51 pro = Column(Boolean, default=False) 51 pro = Column(Boolean, default=False)
52 - privacy_mode = Column(Boolean, default=True, nullable=False) 52 + privacy_mode = Column(Boolean, default=False, nullable=False)
53 category = Column(Integer) 53 category = Column(Integer)
54 flags = Column(Integer) 54 flags = Column(Integer)
55 twitter_user_id = Column(BigInteger, unique=True) 55 twitter_user_id = Column(BigInteger, unique=True)