mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-11-03 06:25:32 +08:00
Require explicitly configured secure JWT secrets for server deployments and persist a random per-installation desktop secret across restarts. Preserve explicit environment overrides for strict server validation. Fixes #665.
2 lines
89 B
TypeScript
2 lines
89 B
TypeScript
export function getLocalJwtSecret(userDataPath: string, explicitSecret?: string): string
|