remove debug statements and fix stuff etc

This commit is contained in:
Laura Klünder 2023-12-11 18:50:36 +01:00
parent c3ce665562
commit 30b0c12ebe
2 changed files with 1 additions and 2 deletions

View file

@ -69,7 +69,6 @@ class APIKeyAuth(APIKeyHeader):
)
elif key.startswith("session:"):
session = self.SessionStore(key.removeprefix("session:"))
print('session is empty:', request.session.is_empty())
user = auth_get_user(FakeRequest(session=session))
if not user.is_authenticated:
raise APIKeyInvalid

View file

@ -59,4 +59,4 @@
}
window.c3nav_api = new C3NavApi(`${window.location.origin}/api/v2/`);
})();
})();