Skip to content

Commit

Permalink
clarify docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang committed Oct 9, 2024
1 parent 7cf0362 commit c84977e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/phoenix/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@
"""
ENV_PHOENIX_CSRF_TRUSTED_ORIGINS = "PHOENIX_CSRF_TRUSTED_ORIGINS"
"""
A comma-separated list of origins that are allowed to bypass Cross-Site Request Forgery (CSRF)
protection. This is recommended when setting up OAuth2 clients or sending password reset emails.
A comma-separated list of origins allowed to bypass Cross-Site Request Forgery (CSRF)
protection. This setting is recommended when configuring OAuth2 clients or sending
password reset emails. If this variable is left unspecified or contains no origins, CSRF
protection will not be enabled. In such cases, when a request includes `origin` or `referer`
headers, those values will not be validated.
"""

# SMTP settings
Expand Down

0 comments on commit c84977e

Please sign in to comment.