Delete books in shelfs, downloaded books, kobo sync status, etc on database change (fixes #620)

This commit is contained in:
Ozzie Isaacs
2021-12-04 11:50:25 +01:00
parent 91a21ababe
commit bd01e840ca
4 changed files with 11 additions and 12 deletions

View File

@@ -1525,9 +1525,6 @@ def register():
@web.route('/login', methods=['GET', 'POST'])
def login():
#if not config.db_configured:
# log.debug(u"Redirect to initial configuration")
# return redirect(url_for('admin.basic_configuration'))
if current_user is not None and current_user.is_authenticated:
return redirect(url_for('web.index'))
if config.config_login_type == constants.LOGIN_LDAP and not services.ldap: