##// END OF EJS Templates
User active flag should be default to True
marcink -
r2480:cb9e73b2 beta
parent child Browse files
Show More
@@ -297,7 +297,7 b' class User(Base, BaseModel):'
297 297 user_id = Column("user_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
298 298 username = Column("username", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
299 299 password = Column("password", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
300 active = Column("active", Boolean(), nullable=True, unique=None, default=None)
300 active = Column("active", Boolean(), nullable=True, unique=None, default=True)
301 301 admin = Column("admin", Boolean(), nullable=True, unique=None, default=False)
302 302 name = Column("firstname", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
303 303 lastname = Column("lastname", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
@@ -305,4 +305,4 b' def UserExtraEmailForm():'
305 305 class _UserExtraEmailForm(formencode.Schema):
306 306 email = All(v.UniqSystemEmail(), v.Email)
307 307
308 return _UserExtraEmailForm No newline at end of file
308 return _UserExtraEmailForm
General Comments 0
You need to be logged in to leave comments. Login now