diff --git a/CalibreWebCompanion/db.sqlite3 b/CalibreWebCompanion/db.sqlite3 index ce2c134..5363514 100644 Binary files a/CalibreWebCompanion/db.sqlite3 and b/CalibreWebCompanion/db.sqlite3 differ diff --git a/CalibreWebCompanion/library/templates/base.html b/CalibreWebCompanion/library/templates/base.html index 6a69b5c..bbef6e1 100644 --- a/CalibreWebCompanion/library/templates/base.html +++ b/CalibreWebCompanion/library/templates/base.html @@ -3,6 +3,7 @@ {% block title %}Local Library{% endblock %} + @@ -13,28 +14,34 @@ @@ -45,7 +52,7 @@ -{% block content %} {% endblock %} + + {% if user.is_authenticated %} + {% block content %} {% endblock %} + {% else %} +

You don't have permission to view this.

+
  • Login
  • + {% endif %} +