mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
feat(magic): add LOWERCASEUSER as magic variable (#6942)
This commit is contained in:
@@ -989,6 +989,9 @@ function generateEnvValue(string $command, Service|Application|null $service = n
|
||||
case 'USER':
|
||||
$generatedValue = Str::random(16);
|
||||
break;
|
||||
case 'LOWERCASEUSER':
|
||||
$generatedValue = Str::lower(Str::random(16));
|
||||
break;
|
||||
case 'SUPABASEANON':
|
||||
$signingKey = $service->environment_variables()->where('key', 'SERVICE_PASSWORD_JWT')->first();
|
||||
if (is_null($signingKey)) {
|
||||
|
||||
Reference in New Issue
Block a user