Files
BetterDesk/web-nodejs/reset-password.js
UNITRONIX 207a7467d0 fix(update): preserve operator config and passwords on upgrade (#158)
Merge .env keys instead of replacing files, patch systemd/NSSM in place,
block panel updates when the server cannot be rebuilt, and stop routine
updates from syncing admin passwords from .env into auth.db/PostgreSQL.
2026-06-04 00:13:12 +02:00

10 lines
354 B
JavaScript

#!/usr/bin/env node
'use strict';
/**
* @deprecated Use scripts/reset-password.js — this file targeted db_v2.sqlite3, not panel auth.db.
*/
console.error('This script is deprecated. Use: node scripts/reset-password.js [newPassword]');
console.error('Panel passwords are stored in data/auth.db (SQLite) or PostgreSQL users table.');
process.exit(1);