@@ -81,6 +81,7 @@ def scan():
# Run
if __name__ == "__main__":
# If there are no users, create admin account
with app.app_context():
if User.query.count() == 0:
admin = User(username="admin", password="admin", is_admin=True)
db.session.add(admin)
The note is not visible to the blocked user.