1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-12 05:13:01 +00:00

Fixes for READ/UNREAD

This commit is contained in:
Jack Darlington
2017-03-03 21:09:53 +00:00
parent b6da3c3153
commit c702b14340
2 changed files with 9 additions and 1 deletions

View File

@@ -502,7 +502,8 @@ def create_admin_user():
user.nickname = "admin"
user.role = ROLE_USER + ROLE_ADMIN + ROLE_DOWNLOAD + ROLE_UPLOAD + ROLE_EDIT + ROLE_PASSWD
user.sidebar_view = DETAIL_RANDOM + SIDEBAR_LANGUAGE + SIDEBAR_SERIES + SIDEBAR_CATEGORY + SIDEBAR_HOT + \
SIDEBAR_RANDOM + SIDEBAR_AUTHOR + SIDEBAR_BEST_RATED
SIDEBAR_RANDOM + SIDEBAR_AUTHOR + SIDEBAR_BEST_RATED + SIDEBAR_READ_AND_UNREAD
user.password = generate_password_hash(DEFAULT_PASS)