From 62574939b209ae4e1ddde8132cff740bca2ec507 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sat, 19 Jan 2019 16:48:04 +0100 Subject: [PATCH] Fix #770 --- cps/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/web.py b/cps/web.py index 0a52947e..68d2be13 100644 --- a/cps/web.py +++ b/cps/web.py @@ -2333,6 +2333,7 @@ def register(): content.password = generate_password_hash(password) content.role = config.config_default_role content.sidebar_view = config.config_default_show + content.mature_content = bool(config.config_default_show & ub.MATURE_CONTENT) try: ub.session.add(content) ub.session.commit()