Skip to content

Commit

Permalink
add quotes to create-secret output (Chainlit#909)
Browse files Browse the repository at this point in the history
- fixes an issue with special characters from the secret
  • Loading branch information
tpatel authored Apr 15, 2024
1 parent 9662459 commit 8e532b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chainlit/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def chainlit_create_secret(args=None, **kwargs):
trace_event("chainlit secret")

print(
f"Copy the following secret into your .env file. Once it is set, changing it will logout all users with active sessions.\nCHAINLIT_AUTH_SECRET={random_secret()}"
f'Copy the following secret into your .env file. Once it is set, changing it will logout all users with active sessions.\nCHAINLIT_AUTH_SECRET="{random_secret()}"'
)


Expand Down

0 comments on commit 8e532b7

Please sign in to comment.