Andrea Pollastri 5 gadi atpakaļ
vecāks
revīzija
a5ee93f92c

+ 1 - 1
app/Http/Controllers/ApplicationsController.php

@@ -39,7 +39,7 @@ class ApplicationsController extends Controller {
             }
         }
         $server = Server::where('id', $request->server_id)->where('status', 2)->firstOrFail();
-        $user   = 'u'.hash('crc32', (Str::uuid()->toString())).rand(1,9);
+        $user   = 'cp'.hash('crc32', (Str::uuid()->toString())).rand(1,9);
         $pass   = sha1(uniqid().microtime().$request->domain);
         $dbpass = sha1(microtime().uniqid().$request->ip);
         $appcode= sha1(uniqid().$request->domain.microtime().$request->server_id);

+ 1 - 1
storage/app/scripts/install.sh

@@ -731,7 +731,7 @@ sudo systemctl restart nginx.service
 
 curl --request GET --url $REMOTE/remote/finalize/$SERVERCODE
 
-sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq  postfix
+sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq postfix
 
 clear
 echo "Cipi installation has been completed... Wait for your data!"