Bläddra i källkod

Update finish.sh

FusionPBX 5 år sedan
förälder
incheckning
8e05076ceb
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      ubuntu/resources/finish.sh

+ 1 - 1
ubuntu/resources/finish.sh

@@ -64,7 +64,7 @@ user_uuid=$(/usr/bin/php /var/www/fusionpbx/resources/uuid.php);
 user_salt=$(/usr/bin/php /var/www/fusionpbx/resources/uuid.php);
 user_salt=$(/usr/bin/php /var/www/fusionpbx/resources/uuid.php);
 user_name=$system_username
 user_name=$system_username
 if [ .$system_password = .'random' ]; then
 if [ .$system_password = .'random' ]; then
-	user_password=$(dd if=/dev/urandom bs=1 count=12 2>/dev/null | base64 | sed 's/[=\+//]//g')
+	user_password=$(dd if=/dev/urandom bs=1 count=20 2>/dev/null | base64 | sed 's/[=\+//]//g')
 else
 else
 	user_password=$system_password
 	user_password=$system_password
 fi
 fi