fix: Update default admin password hash to match documentation

This commit is contained in:
2025-12-09 18:19:03 +00:00
parent 01080498af
commit 258d53f7d6
4 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
Adastra VTL Installer
Version: 1.0.0
Build Date: 2025-12-09 18:14:40
Build Date: 2025-12-09 18:18:46
Build Host: vtl-dev

View File

@@ -277,7 +277,7 @@ configure_system() {
# Initialize users file securely if not exists
if [ ! -f "/etc/mhvtl/users.json" ]; then
echo '[{"username":"admin","password":"$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
echo '[{"username":"admin","password":"$2y$10$b7994UTOrF9YHQv1osnhwO06GsqP.grtqbT3AX7Y.jde11nTToAS2","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
fi
chown www-data:www-data /etc/mhvtl/users.json
chmod 600 /etc/mhvtl/users.json
@@ -288,7 +288,7 @@ configure_system() {
# Initialize users file securely if not exists
if [ ! -f "/etc/mhvtl/users.json" ]; then
echo '[{"username":"admin","password":"$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
echo '[{"username":"admin","password":"$2y$10$b7994UTOrF9YHQv1osnhwO06GsqP.grtqbT3AX7Y.jde11nTToAS2","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
fi
chown apache:apache /etc/mhvtl/users.json
chmod 600 /etc/mhvtl/users.json

View File

@@ -277,7 +277,7 @@ configure_system() {
# Initialize users file securely if not exists
if [ ! -f "/etc/mhvtl/users.json" ]; then
echo '[{"username":"admin","password":"$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
echo '[{"username":"admin","password":"$2y$10$b7994UTOrF9YHQv1osnhwO06GsqP.grtqbT3AX7Y.jde11nTToAS2","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
fi
chown www-data:www-data /etc/mhvtl/users.json
chmod 600 /etc/mhvtl/users.json
@@ -288,7 +288,7 @@ configure_system() {
# Initialize users file securely if not exists
if [ ! -f "/etc/mhvtl/users.json" ]; then
echo '[{"username":"admin","password":"$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
echo '[{"username":"admin","password":"$2y$10$b7994UTOrF9YHQv1osnhwO06GsqP.grtqbT3AX7Y.jde11nTToAS2","role":"admin","created":"'$(date '+%Y-%m-%d %H:%M:%S')'","enabled":true}]' > /etc/mhvtl/users.json
fi
chown apache:apache /etc/mhvtl/users.json
chmod 600 /etc/mhvtl/users.json