mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 07:13:45 +02:00
Store node daemon tokens in an encrypted manner
This commit is contained in:
@@ -69,6 +69,6 @@ class NodeJWTService
|
||||
|
||||
return $builder
|
||||
->withClaim('unique_id', Str::random(16))
|
||||
->getToken($signer, new Key($node->daemonSecret));
|
||||
->getToken($signer, new Key($node->getDecryptedKey()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user