feat(magic): add LOWERCASEUSER as magic variable (#6942)
This commit is contained in:
parent
4fa3c538bc
commit
8002bb6e8e
1 changed files with 3 additions and 0 deletions
|
|
@ -989,6 +989,9 @@ function generateEnvValue(string $command, Service|Application|null $service = n
|
||||||
case 'USER':
|
case 'USER':
|
||||||
$generatedValue = Str::random(16);
|
$generatedValue = Str::random(16);
|
||||||
break;
|
break;
|
||||||
|
case 'LOWERCASEUSER':
|
||||||
|
$generatedValue = Str::lower(Str::random(16));
|
||||||
|
break;
|
||||||
case 'SUPABASEANON':
|
case 'SUPABASEANON':
|
||||||
$signingKey = $service->environment_variables()->where('key', 'SERVICE_PASSWORD_JWT')->first();
|
$signingKey = $service->environment_variables()->where('key', 'SERVICE_PASSWORD_JWT')->first();
|
||||||
if (is_null($signingKey)) {
|
if (is_null($signingKey)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue