mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 17:45:42 +00:00
1b240543bd
- 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.
10 lines
340 B
JavaScript
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);
|