root html is no longer invariant, serve it normally
[websub-hub] / src / service.js
index 6dcde1ec201b1a212beb704d99c61edebcd75be9..d493f8affdf83f3585973ad380c3f9a5ab8caa48 100644 (file)
@@ -101,6 +101,8 @@ class Service extends Dingus {
 
     this.setResponseType(responseTypes, req, res, ctx);
 
+    await this.authenticator.sessionOptional(req, res, ctx, this.loginPath);
+
     await this.manager.getRoot(req, res, ctx);
   }