[grade=A] Harden server-managed license renewals
CI / Test & Lint (push) Canceled after 0s
CI / Security audit (push) Canceled after 0s

This commit is contained in:
Hermes
2026-08-22 18:15:37 -07:00
parent df55677bd1
commit 5e60c27f2b
5 changed files with 953 additions and 32 deletions
+1
View File
@@ -46,6 +46,7 @@ module.exports = function({ licenseManager, asyncHandler }) {
// Get current license status
router.get('/status', asyncHandler(async (req, res) => {
await licenseManager.refreshOnline?.();
const status = licenseManager.getStatus();
success(res, { license: status });
}, 'license-status'));