Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat: add new password magic env with symbols

Andras Bacsai76b44e2e6a48
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index ea051c84e1..7aa411cd10 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -824,6 +824,12 @@ function generateEnvValue(string $command, Service|Application|null $service = n
case 'PASSWORD_64':
$generatedValue = Str::password(length: 64, symbols: false);
break;
+ case 'PASSWORDWITHSYMBOLS':
+ $generatedValue = Str::password(symbols: true);
+ break;
+ case 'PASSWORDWITHSYMBOLS_64':
+ $generatedValue = Str::password(length: 64, symbols: true);
+ break;
// This is not base64, it's just a random string
case 'BASE64_64':
$generatedValue = Str::random(64);