Turn auth back on
Change-Id: I9080032e8863f7c12778e02e08632d51587fbed9
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index 84b3747..3af461b 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -89,7 +89,7 @@
}
crow::App<
- /*crow::TokenAuthorizationMiddleware, */ crow::SecurityHeadersMiddleware>
+ crow::TokenAuthorizationMiddleware, crow::SecurityHeadersMiddleware>
app(io);
crow::webassets::request_routes(app);
@@ -121,7 +121,6 @@
.onclose(
[&](crow::websocket::connection& conn, const std::string& reason) {
sessions.erase(&conn);
-
})
.onmessage([&](crow::websocket::connection& conn, const std::string& data,
bool is_binary) {