We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7fe49e + b666597 commit 078edc9Copy full SHA for 078edc9
1 file changed
Taskfile.yml
@@ -182,7 +182,8 @@ tasks:
182
issued tokens — screens must re-authenticate). Requires the stack up.
183
cmds:
184
- |
185
- if {{.COMPOSE}} exec -T os2display bin/console lexik:jwt:check-config >/dev/null 2>&1; then
+ # Check if both JWT key files exist AND the config is valid
186
+ if [ -f ./jwt/private.pem ] && [ -f ./jwt/public.pem ] && {{.COMPOSE}} exec -T os2display bin/console lexik:jwt:check-config >/dev/null 2>&1; then
187
echo "JWT keypair OK — leaving it untouched."
188
else
189
echo "JWT keypair missing or invalid for the current JWT_PASSPHRASE — regenerating."
0 commit comments