fix: Update default admin password hash to match documentation
This commit is contained in:
BIN
dist/adastra-vtl-installer-1.0.0.tar.gz
vendored
BIN
dist/adastra-vtl-installer-1.0.0.tar.gz
vendored
Binary file not shown.
2
dist/adastra-vtl-installer/VERSION
vendored
2
dist/adastra-vtl-installer/VERSION
vendored
@@ -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
|
||||
|
||||
4
dist/adastra-vtl-installer/install.sh
vendored
4
dist/adastra-vtl-installer/install.sh
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user