Aug 7 - Update new design as default
This commit is contained in:
+3
-1
@@ -59,8 +59,10 @@ class User(UserMixin, db.Model):
|
||||
# Drives base.html's layout dispatch via the inject_ui_theme() context
|
||||
# processor. Persisted per user so the choice survives logout and can be
|
||||
# tallied as a vote (see /ui/theme-votes).
|
||||
# phase50 — 'modern' is the default for new accounts. Existing rows were
|
||||
# migrated in phase50; anyone who switches keeps their own choice.
|
||||
ui_theme = db.Column(db.String(16), nullable=False,
|
||||
server_default='classic', default='classic')
|
||||
server_default='modern', default='modern')
|
||||
|
||||
# ── Customer password-setup workflow ──────────────────────────────────
|
||||
# password_set: False for newly created customer accounts until they
|
||||
|
||||
Reference in New Issue
Block a user