auth alias for authenticator

This commit is contained in:
Erik 2022-11-14 13:29:17 +02:00
parent 064950d99a
commit 65a5752536
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -73,6 +73,8 @@ class Server extends EventEmitter {
secure: true // The authenticator will not actually set the cookie config to secure in dev mode secure: true // The authenticator will not actually set the cookie config to secure in dev mode
} }
}); });
// Alias
this.auth = this.authenticator;
this.#addAuthStrategies(); this.#addAuthStrategies();