mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 15:33:12 +09:00
Remove config dependency in lib/authenticate
Restructure lib/authenticate to set the authentication secret at a later point in time via setAuthSecret. This breaks playerManager.
This commit is contained in:
1 parent
8c1c8d07a9
commit
af2471b427
5 files changed
+55
-27
No files matched your search
@@ -3,7 +3,7 @@ const path = require("path");
|
||||
|
||||
class masterPlugin {
|
||||
constructor({config, socketio, express, Prometheus}){
|
||||
const authenticate = require("lib/authenticate")(config);
|
||||
const authenticate = require("lib/authenticate");
|
||||
|
||||
this.config = config;
|
||||
this.io = socketio;
|
||||
|
||||
Reference in new issue
Block a user