mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
fix removed Buffer from base64 auth_secret
This commit is contained in:
1 parent
3fac5b00d3
commit
c96a13ef30
1 file changed
+1
-1
@@ -289,7 +289,7 @@ ${err.stack}`
|
||||
try {
|
||||
let tokenPayload = jwt.verify(
|
||||
data.token,
|
||||
this.controller.config.get("controller.auth_secret"),
|
||||
Buffer.from(this.controller.config.get("controller.auth_secret"), "base64"),
|
||||
{ audience: "user" }
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user