Add private operations portal and weekly accounting reports
This commit is contained in:
@@ -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');
|
||||
Reference in New Issue
Block a user