Files
BetterDesk/web-nodejs/reset-password.js
T
UNITRONIX 1b240543bd feat(auth): implement SQLite auth consolidation and admin password validation
- Added functionality for safely consolidating legacy auth.db into the selected SQLite database, with options for dry runs and rollbacks.
- Introduced command-line flags for SQLite auth consolidation, including backup directory and rollback options.
- Enhanced admin interface security by requiring a password when the admin port is enabled, preventing unauthorized access.
- Updated related tests to ensure proper handling of admin password requirements and relay authorization logic.
2026-08-05 23:49:42 +02:00

10 lines
340 B
JavaScript

#!/usr/bin/env node
'use strict';
/**
* @deprecated Use scripts/reset-password.js — it updates the selected shared store.
*/
console.error('This script is deprecated. Use: node scripts/reset-password.js [newPassword]');
console.error('Panel passwords are stored in db_v2.sqlite3 (SQLite) or PostgreSQL users table.');
process.exit(1);