From cc5586c5c02cea0a4780f94b48f1ef0ae367a13a Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sat, 13 Dec 2025 23:00:58 +0000 Subject: [PATCH] feat: auto-generate new token after each install command copy Users no longer need to manually click 'New Token' - a fresh token is automatically generated after each copy. The command shown is always ready for the next host. --- .../src/components/SetupWizard/steps/CompleteStep.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend-modern/src/components/SetupWizard/steps/CompleteStep.tsx b/frontend-modern/src/components/SetupWizard/steps/CompleteStep.tsx index 1a7f429..984fdb8 100644 --- a/frontend-modern/src/components/SetupWizard/steps/CompleteStep.tsx +++ b/frontend-modern/src/components/SetupWizard/steps/CompleteStep.tsx @@ -178,6 +178,10 @@ export const CompleteStep: Component = (props) => { if (success) { setCopied('install'); setTimeout(() => setCopied(null), 2000); + + // Auto-generate a new token for the next host + // This ensures each copy gets a unique token without user intervention + generateNewToken(); } }; @@ -354,7 +358,7 @@ Keep these credentials secure!

- Run on the host you want to monitor. Use a different token for each host - click "New Token" after each install. + Copy and run on each host. A new token is generated automatically after each copy.