You've already forked calibre-web
							
							
				mirror of
				https://github.com/janeczku/calibre-web.git
				synced 2025-10-30 23:57:40 +02:00 
			
		
		
		
	Fix #770
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user