Add private operations portal and weekly accounting reports

This commit is contained in:
wuyang
2026-11-03 16:45:50 +08:00
parent 10c4487463
commit 20aea13054
18 changed files with 958 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { hashPassword } from '../password.mjs';
let input = '';
for await (const chunk of process.stdin) {
input += chunk;
if (input.length > 2048) throw new Error('Password input too long');
}
process.stdout.write(hashPassword(input.replace(/\r?\n$/, '')) + '\n');