mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-11 10:53:47 +02:00
Store node daemon tokens in an encrypted manner
This commit is contained in:
@@ -67,7 +67,7 @@ class StatisticsController extends Controller
|
||||
|
||||
$tokens = [];
|
||||
foreach ($nodes as $node) {
|
||||
$tokens[$node->id] = $node->daemonSecret;
|
||||
$tokens[$node->id] = decrypt($node->daemon_token);
|
||||
}
|
||||
|
||||
$this->injectJavascript([
|
||||
|
||||
Reference in New Issue
Block a user