From 65a5752536bbab67af48ea7b82d58b8acbc4dfef Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 14 Nov 2022 13:29:17 +0200 Subject: [PATCH] auth alias for authenticator --- src/server/Server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/Server.js b/src/server/Server.js index 08a64be..ccc765c 100644 --- a/src/server/Server.js +++ b/src/server/Server.js @@ -73,6 +73,8 @@ class Server extends EventEmitter { secure: true // The authenticator will not actually set the cookie config to secure in dev mode } }); + // Alias + this.auth = this.authenticator; this.#addAuthStrategies();